From 5a7e0c355ab020b3222303ead73ec198bcac107d Mon Sep 17 00:00:00 2001 From: Bodaniel Jeanes Date: Tue, 18 Oct 2011 22:27:52 -0500 Subject: [PATCH] Add alias to jump to git root --- shell/aliases.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/shell/aliases.sh b/shell/aliases.sh index 9c80374..257b275 100644 --- a/shell/aliases.sh +++ b/shell/aliases.sh @@ -17,6 +17,7 @@ alias systail='tail -fn0 /var/log/system.log' alias aptail='tail -fn0 /var/log/apache*/*log' alias l='ls' alias b='cd -' +alias cdr='cd ./$(git rev-parse --show-cdup)' alias c='clear' # shortcut to clear your terminal