fix(fvm): revert old fvm glob option

This commit is contained in:
RyuNen344 2023-07-18 06:54:12 +09:00 committed by GitHub
parent 36c7ca9570
commit 220d2c747d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1304,7 +1304,7 @@ function _p9k_read_file() {
}
function _p9k_fvm_old() {
_p9k_upglob fvm -/ && return 1
_p9k_upglob fvm @ && return 1
local fvm=$_p9k__parent_dirs[$?]/fvm
if [[ ${fvm:A} == (#b)*/versions/([^/]##)/bin/flutter ]]; then
_p9k_prompt_segment prompt_fvm blue $_p9k_color1 FLUTTER_ICON 0 '' ${match[1]//\%/%%}