Permalink
Browse files

Limit errors doing gs in a non-git repo.

  • Loading branch information...
1 parent f8cb5f3 commit 4ab99e54645bd7dcf460e47c269cb0682534a8b5 @jqr committed Dec 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 bash_profile.d/git.sh
@@ -12,7 +12,7 @@ alias glm="gl master..."
alias g{='git stash -u'
alias g}='git stash pop'
-alias gs='git status -sb; git stash list'
+alias gs='git status -sb && git stash list'
alias gd='git diff'
complete -o default -o nospace -F _git_diff gd
alias gds='git diff --cached'

0 comments on commit 4ab99e5

Please sign in to comment.