mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-27 03:14:56 +01:00
Fix for pwds with symlinks as a directory component
This commit is contained in:
parent
dda24a0a5b
commit
e9eebb60e6
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ function fish_like_pwd() {
|
|||
until [[ (( ${#expn} == 1 )) || $dir = $expn || $i -gt 99 ]] do
|
||||
(( i++ ))
|
||||
part+=$dir[$i]
|
||||
expn=($(echo ${part}*(/)))
|
||||
expn=($(echo ${part}*(-/)))
|
||||
(( short )) && break
|
||||
done
|
||||
result+="/$part"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue