diff options
author | Alan Pearce | 2016-09-29 09:32:46 +0200 |
---|---|---|
committer | Alan Pearce | 2016-09-29 09:32:46 +0200 |
commit | 77e71f8020c4dcbe29b0d1c7425e1ae5faa2a6a0 (patch) | |
tree | e6eb281250961dc06aaa542f007c31a67df46c9a | |
parent | 987c7b55294c59c289b2440ba4d4c33a8126402f (diff) | |
download | nixfiles-77e71f8020c4dcbe29b0d1c7425e1ae5faa2a6a0.tar.lz nixfiles-77e71f8020c4dcbe29b0d1c7425e1ae5faa2a6a0.tar.zst nixfiles-77e71f8020c4dcbe29b0d1c7425e1ae5faa2a6a0.zip |
zsh: Add "hub" aliases again
-rw-r--r-- | tag-zsh/config/zsh/zshrc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index a133a7da..2a37b508 100644 --- a/tag-zsh/config/zsh/zshrc +++ b/tag-zsh/config/zsh/zshrc @@ -136,6 +136,13 @@ then autoload -U compinit && compinit fi +if [[ -n $commands[hub] ]] +then + compdef _hub hub + alias git=hub + alias gh=hub +fi + if [[ -n $commands[lunchy] ]] then LUNCHY_DIR=$(dirname $(gem which lunchy))/../extras |