aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-06-25 12:09:19 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-06-25 12:09:19 +0300
commitae32fd58b3623b52005c72fb1edcb09ab753ad45 (patch)
tree70b481aafb163d82e4656f246038d53df4668675 /internal
parent6a1e993a05439e7829ad91c1699f84c46c82a862 (diff)
fix `fvm` styling that has been broken by the last commit; fixes #645
Diffstat (limited to 'internal')
-rw-r--r--internal/p10k.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 38fbd9ae..7a37056b 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -1229,7 +1229,7 @@ function _p9k_fvm_old() {
local fvm=$_p9k__parent_dirs[$?]/fvm
if [[ -L $fvm ]]; then
if [[ ${fvm:A} == (#b)*/versions/([^/]##)/bin/flutter ]]; then
- _p9k_prompt_segment $0 blue $_p9k_color1 FLUTTER_ICON 0 '' ${match[1]//\%/%%}
+ _p9k_prompt_segment prompt_fvm blue $_p9k_color1 FLUTTER_ICON 0 '' ${match[1]//\%/%%}
return 0
fi
fi
@@ -1241,7 +1241,7 @@ function _p9k_fvm_new() {
local sdk=$_p9k__parent_dirs[$?]/.fvm/flutter_sdk
if [[ -L $sdk ]]; then
if [[ ${sdk:A} == (#b)*/versions/([^/]##) ]]; then
- _p9k_prompt_segment $0 blue $_p9k_color1 FLUTTER_ICON 0 '' ${match[1]//\%/%%}
+ _p9k_prompt_segment prompt_fvm blue $_p9k_color1 FLUTTER_ICON 0 '' ${match[1]//\%/%%}
return 0
fi
fi