From 8659f058c4f6734906a10f3b47d5ad0cbde6d2a8 Mon Sep 17 00:00:00 2001 From: Michael Campagnaro Date: Tue, 17 Nov 2015 00:11:13 -0500 Subject: [PATCH] Stop the git stats alias from executing in new shell session --- zsh/aliases | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/zsh/aliases b/zsh/aliases index 93ab394..62ee8fc 100644 --- a/zsh/aliases +++ b/zsh/aliases @@ -36,7 +36,6 @@ alias code='cd ~/code' alias cpr='cp -r' alias cw='compass watch' alias dot='cd ~/.' -alias dr='cd ~/Dropbox' alias duh='du -csh' alias functions='vim ~/.dotfiles/zsh/functions' alias f='fg' @@ -204,8 +203,7 @@ alias gtd='git tag -d' alias gtl='git tag -l' alias gx='git reset --hard' alias gxx='git reset --hard HEAD~1' -# git stats -alias gstats="echo 'Total commits: $(git rev-list HEAD --count)'; echo '\nAuthor breakdown:'; git shortlog | grep -E '^[^ ]'" +alias gstats='echo "Total commits: $(git rev-list HEAD --count)"; echo "\nAuthor breakdown:"; git shortlog | grep -E "^[^ ]"' alias gwip="git add . && git commit -m \"WIP\"" # Notes