summaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorChristo Kotze <onaforeignshore@hotmail.co.uk>2018-02-14 11:33:36 +0300
committerChristo Kotze <onaforeignshore@hotmail.co.uk>2018-02-14 11:33:36 +0300
commitc71e735c7d0d39374cfe9952598482419eb40f53 (patch)
treef458d0b21b7d0debcff5ffe409f5af0f6b794781 /powerlevel9k.zsh-theme
parent9c6330624e1597d337b9aae2dc8e350b5e90a87a (diff)
More code cleaning (extra %F calls)
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme8
1 files changed, 4 insertions, 4 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index 3454a673..9fb280bf 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -874,15 +874,15 @@ prompt_dir() {
if [[ -n ${POWERLEVEL9K_DIR_PATH_HIGHLIGHT_FOREGROUND} ]]; then
if [[ $path_opt == "/" || $path_opt == "~" || "${(L)POWERLEVEL9K_DIR_OMIT_FIRST_CHARACTER}" == "true" ]]; then
- current_path="${bld}%F{$POWERLEVEL9K_DIR_PATH_HIGHLIGHT_FOREGROUND}${current_path}%b%F{$dir_state_foreground}"
+ current_path="${bld}%F{$POWERLEVEL9K_DIR_PATH_HIGHLIGHT_FOREGROUND}${current_path}%b"
else
- current_path="${dir_name}/${bld}%F{$POWERLEVEL9K_DIR_PATH_HIGHLIGHT_FOREGROUND}${base_name}%b%F{$dir_state_foreground}"
+ current_path="${dir_name}/${bld}%F{$POWERLEVEL9K_DIR_PATH_HIGHLIGHT_FOREGROUND}${base_name}%b"
fi
else
if [[ $path_opt == "/" || $path_opt == "~" || "${(L)POWERLEVEL9K_DIR_OMIT_FIRST_CHARACTER}" == "true" ]]; then
- current_path="${bld}${current_path}%b%F{$dir_state_foreground}"
+ current_path="${bld}${current_path}%b"
else
- current_path="${dir_name}/${bld}${base_name}%b%F{$dir_state_foreground}"
+ current_path="${dir_name}/${bld}${base_name}%b"
fi
fi