mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 12:20:07 +00:00
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.
This commit is contained in:
parent
ccba1cc823
commit
8b8dcb2066
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue