summaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorChristo Kotze <onaforeignshore@hotmail.co.uk>2018-02-10 14:41:40 +0300
committerChristo Kotze <onaforeignshore@hotmail.co.uk>2018-02-10 14:41:40 +0300
commit8b8dcb20663e56c09ea12d7743a8a139a339cc56 (patch)
tree4fc4bcd553386c2efcc280cde852a24add9d52bb /powerlevel9k.zsh-theme
parentccba1cc8233143f7e360a3ab3ff61b7175327acf (diff)
Last dir bold - missed reset
Missed the bold reset code `%b` in the logic, which caused everthing after the last dir to be bold, including the command line entry.
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 faaa32ec..e7d3f1f1 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -869,7 +869,7 @@ prompt_dir() {
if [[ -n "${POWERLEVEL9K_DIR_PATH_HIGHLIGHT_FOREGROUND}" ]]; then
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}"
+ 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}"
fi