1
0
mirror of https://github.com/artizirk/dotfiles.git synced 2024-12-22 11:30:15 +02:00

Add git-subrepo to git completion

This commit is contained in:
Arti Zirk 2022-01-18 07:56:57 +02:00
parent 5b7df52877
commit 52e5039a09

5
.zshrc
View File

@ -60,6 +60,11 @@ function chpwd_leave_profile_krakul() {
}
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
hash -d -r
# shorten dir name in prompt