diff options
| author | nsfisis <nsfisis@gmail.com> | 2021-11-07 12:02:46 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2021-11-07 12:02:46 +0900 |
| commit | 36f4ee7bc0ff6e683142f6f7c6596ecf57ad8353 (patch) | |
| tree | 6182eb2163d9d5c585ddf85aacf0d8385a0d0154 | |
| parent | 0947ca93fd00101ad635a229431b8b2d56f45977 (diff) | |
| download | dotfiles-36f4ee7bc0ff6e683142f6f7c6596ecf57ad8353.tar.gz dotfiles-36f4ee7bc0ff6e683142f6f7c6596ecf57ad8353.tar.zst dotfiles-36f4ee7bc0ff6e683142f6f7c6596ecf57ad8353.zip | |
.zshrc: hide miscellaneous info in VCS info
| -rw-r--r-- | .zshrc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -282,7 +282,9 @@ zstyle ':vcs_info:git+set-message:*' hooks git-stash-count function +vi-git-stash-count() { local stash="$(git stash list 2>/dev/null | wc -l | tr -d ' ')" if [[ "${stash}" -gt 0 ]]; then - hook_com[misc]+=" [${stash}]" + hook_com[misc]=" [${stash}]" + else + hook_com[misc]="" fi } |
