mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-17 02:00:07 +00:00
We need to always evaluate the path for the home/folder icon mechanism to work correctly.
This commit is contained in:
parent
a09a4b8dd5
commit
0dc36ee614
1 changed files with 1 additions and 1 deletions
|
@ -321,7 +321,7 @@ prompt_dir() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local current_icon=''
|
local current_icon=''
|
||||||
if [[ "$current_path" == '~'* ]]; then
|
if [[ $(print -P "%~") == '~'* ]]; then
|
||||||
current_icon=$(print_icon 'HOME_ICON')
|
current_icon=$(print_icon 'HOME_ICON')
|
||||||
else
|
else
|
||||||
current_icon=$(print_icon 'FOLDER_ICON')
|
current_icon=$(print_icon 'FOLDER_ICON')
|
||||||
|
|
Loading…
Reference in a new issue