mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-19 05:51:57 +00:00
cleanup
This commit is contained in:
parent
5fb888cda9
commit
15e7d74087
1 changed files with 1 additions and 1 deletions
|
@ -895,7 +895,7 @@ prompt_dir() {
|
|||
fi
|
||||
;;
|
||||
truncate_to_unique)
|
||||
local parent="${PWD%/${(pj./.)parts[2,-1]}}" dir
|
||||
local parent="${PWD%/${(pj./.)parts[2,-1]}}" dir=''
|
||||
local -i i=2
|
||||
for (( ; i < $#parts; ++i )); do
|
||||
local dir=$parts[i]
|
||||
|
|
Loading…
Reference in a new issue