summary refs log tree commit diff stats
path: root/tag-zsh
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
parent43781516414d2b4fdfca49025da9832ccfc57686 (diff)
parent77e71f8020c4dcbe29b0d1c7425e1ae5faa2a6a0 (diff)
downloaddotfiles-ba2007da28bfbc34c4fc2240a5d4414826a13ae0.tar.lz
dotfiles-ba2007da28bfbc34c4fc2240a5d4414826a13ae0.tar.zst
dotfiles-ba2007da28bfbc34c4fc2240a5d4414826a13ae0.zip
Merge branch 'master' of git.alanpearce.uk:alan/dotfiles
Diffstat (limited to 'tag-zsh')
-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 a133a7d..2a37b50 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