1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-14 00:50:08 +00:00

expand c-escapes in POWERLEVEL9K_DIR_PATH_SEPARATOR

This commit is contained in:
Roman Perepelitsa 2020-09-29 13:26:21 +02:00
parent 71b39f0da9
commit 3586cc8d7e

View file

@ -2006,6 +2006,7 @@ prompt_dir() {
sep=$_p9k__ret sep=$_p9k__ret
fi fi
_p9k_param $state PATH_SEPARATOR / _p9k_param $state PATH_SEPARATOR /
_p9k__ret=${(g::)_p9k__ret}
(( expand )) && _p9k_escape $_p9k__ret (( expand )) && _p9k_escape $_p9k__ret
sep+=$_p9k__ret sep+=$_p9k__ret
[[ $sep == *%* ]] && sep+=$style [[ $sep == *%* ]] && sep+=$style