Browse Source

Add git-subrepo to git completion

master
Arti Zirk 3 years ago
parent
commit
52e5039a09
  1. 5
      .zshrc

5
.zshrc

@ -60,6 +60,11 @@ function chpwd_leave_profile_krakul() {
} }
chpwd_profiles chpwd_profiles
# for some reason zsh does not pick up git-subrepo custom command
# I have to add it manually to git completion
zstyle ':completion:*:*:git:*' user-commands subrepo:'perform git-subrepo operations'
# First clear grml-zsh-config provided directory hashes # First clear grml-zsh-config provided directory hashes
hash -d -r hash -d -r
# shorten dir name in prompt # shorten dir name in prompt

Loading…
Cancel
Save