X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/ba5bd95983d7b78f798c44022dfafac797b89228..286398e8c1acfeb3d98318c71018d68190c7cbb2:/.zsh/zshrc/60_vcsprompt diff --git a/.zsh/zshrc/60_vcsprompt b/.zsh/zshrc/60_vcsprompt index aeabd77..d12f686 100644 --- a/.zsh/zshrc/60_vcsprompt +++ b/.zsh/zshrc/60_vcsprompt @@ -38,12 +38,12 @@ __git_print_preprompt() output=(${(f):-"$(git diff --stat --relative 2>/dev/null)"}) if [[ ${#output} -gt 1 ]]; then echo changes on filesystem: - print "${(F)output[1,-2]}" + print "${${(F)output[1,-2]}//\.\.\./…}" fi output=(${(f):-"$(git diff --cached --stat --relative 2>/dev/null)"}) if [[ ${#output} -gt 1 ]]; then echo cached/staged changes: - print "${(F)output[1,-2]}" + print "${${(F)output[1,-2]}//\.\.\./…}" fi }