add hgcd alias

Sun, 22 Feb 2015 12:07:34 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 22 Feb 2015 12:07:34 -0500
changeset 169
14fe6e596ae0
parent 168
593608369a48
child 172
ff95afc589ea
child 173
757eaebee0a2

add hgcd alias

.zshrc file | annotate | diff | comparison | revisions
--- a/.zshrc
+++ b/.zshrc
@@ -50,6 +50,7 @@ if [ -d ~/.rbenv ]; then
   eval "$(rbenv init - zsh)"
 fi
 
+alias hgcd='cd $(hg root)'
 
 if [ -f ~/.zshrc.local ]; then
   source ~/.zshrc.local

mercurial