mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-28 09:31:56 +00:00
when looking for .fvm/flutter_sdk, require that the last segment is a symlink rather than .fvm (#2573)
This commit is contained in:
parent
8e2a22d80b
commit
17cd9e354a
1 changed files with 2 additions and 2 deletions
|
@ -1314,7 +1314,7 @@ function _p9k_fvm_old() {
|
|||
}
|
||||
|
||||
function _p9k_fvm_new() {
|
||||
_p9k_upglob .fvm @ && return 1
|
||||
_p9k_upglob .fvm/flutter_sdk @ && return 1
|
||||
local sdk=$_p9k__parent_dirs[$?]/.fvm/flutter_sdk
|
||||
if [[ ${sdk:A} == (#b)*/versions/([^/]##) ]]; then
|
||||
_p9k_prompt_segment prompt_fvm blue $_p9k_color1 FLUTTER_ICON 0 '' ${match[1]//\%/%%}
|
||||
|
@ -9472,7 +9472,7 @@ if [[ $__p9k_dump_file != $__p9k_instant_prompt_dump_file && -n $__p9k_instant_p
|
|||
zf_rm -f -- $__p9k_instant_prompt_dump_file{,.zwc} 2>/dev/null
|
||||
fi
|
||||
|
||||
typeset -g P9K_VERSION=1.20.2
|
||||
typeset -g P9K_VERSION=1.20.3
|
||||
unset VSCODE_SHELL_INTEGRATION
|
||||
|
||||
_p9k_init_ssh
|
||||
|
|
Loading…
Reference in a new issue