From e9eebb60e62a3c212c4eaab695973fb13f7dcd1a Mon Sep 17 00:00:00 2001 From: amerdidit Date: Sun, 23 Nov 2014 11:32:35 +0100 Subject: [PATCH] Fix for pwds with symlinks as a directory component --- themes/amer.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/amer.zsh-theme b/themes/amer.zsh-theme index c0f397574..700e99dcc 100644 --- a/themes/amer.zsh-theme +++ b/themes/amer.zsh-theme @@ -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"