summary refs log tree commit diff stats
path: root/tag-zsh/config/zsh/zshrc
diff options
context:
space:
mode:
authorAlan Pearce2016-10-03 09:48:36 +0200
committerAlan Pearce2016-10-03 09:48:36 +0200
commitba2007da28bfbc34c4fc2240a5d4414826a13ae0 (patch)
tree34248229c3f5a37d74326364c20bb27fd41727cd /tag-zsh/config/zsh/zshrc
parent43781516414d2b4fdfca49025da9832ccfc57686 (diff)
parent77e71f8020c4dcbe29b0d1c7425e1ae5faa2a6a0 (diff)
downloadnixfiles-ba2007da28bfbc34c4fc2240a5d4414826a13ae0.tar.lz
nixfiles-ba2007da28bfbc34c4fc2240a5d4414826a13ae0.tar.zst
nixfiles-ba2007da28bfbc34c4fc2240a5d4414826a13ae0.zip
Merge branch 'master' of git.alanpearce.uk:alan/dotfiles
Diffstat (limited to 'tag-zsh/config/zsh/zshrc')
-rw-r--r--tag-zsh/config/zsh/zshrc7
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