aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorChristo Kotze <onaforeignshore@hotmail.co.uk>2018-02-11 06:17:50 +0300
committerChristo Kotze <onaforeignshore@hotmail.co.uk>2018-02-11 06:17:50 +0300
commitcd1387f530450889c386ab48b7076987eadbff06 (patch)
tree44ed892dcf22c8abe16a81c36c968a1b2cae8b01 /powerlevel9k.zsh-theme
parent8b8dcb20663e56c09ea12d7743a8a139a339cc56 (diff)
Fixed reset bold on last dir missing.
Missed the `%b` on making the last dir bold which leaked into the command prompt.
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index e7d3f1f1..fe660bc5 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -871,7 +871,7 @@ prompt_dir() {
if [[ $path_opt == "/" || $path_opt == "~" || $(dirname $path_opt) == "/" || ${POWERLEVEL9K_DIR_OMIT_FIRST_CHARACTER} ]]; then
current_path="$bd%F{$POWERLEVEL9K_DIR_PATH_HIGHLIGHT_FOREGROUND}$current_path%F{$dir_state_foreground}%b"
else
- current_path="$(dirname $current_path)/$bd%F{$POWERLEVEL9K_DIR_PATH_HIGHLIGHT_FOREGROUND}$(basename $current_path)%F{$dir_state_foreground}"
+ current_path="$(dirname $current_path)/$bd%F{$POWERLEVEL9K_DIR_PATH_HIGHLIGHT_FOREGROUND}$(basename $current_path)%F{$dir_state_foreground}%b"
fi
fi