X-Git-Url: http://git.madism.org/?p=~madcoder%2Fdotfiles.git;a=blobdiff_plain;f=config%2Fzsh%2F60_prompt;fp=config%2Fzsh%2F60_prompt;h=241075ab605739680403374240e6630775d3d90b;hp=5c7b02d085cc83f7af2222e95b5bf37cffc92299;hb=4e2ee5cc454ea39fcd93270a9d6dfcb9370f5406;hpb=b432593cd0e91f2b0eb9bba5d106b563cd98e916 diff --git a/config/zsh/60_prompt b/config/zsh/60_prompt index 5c7b02d..241075a 100644 --- a/config/zsh/60_prompt +++ b/config/zsh/60_prompt @@ -32,7 +32,7 @@ precmd() { branch="$(cut -c1-7 "$git_dir/HEAD")..." fi - psvar[1]="${$(readlink "$(git rev-parse --show-cdup)./")/$HOME/~}" + psvar[1]="${$(greadlink -m "$(git rev-parse --show-cdup)./")/$HOME/~}" psvar[2]="${branch#refs/heads/}" }