diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2014-10-13 17:43:25 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2014-10-13 17:43:25 +1300 |
commit | daf62af720e66f8059982bf3638d37534aba54aa (patch) | |
tree | 0567470ec0a169850e7585b6b38c3f27a49aa554 /bash/bashrc.d/git.bash | |
parent | Fix alphabetical order (diff) | |
download | dotfiles-daf62af720e66f8059982bf3638d37534aba54aa.tar.gz dotfiles-daf62af720e66f8059982bf3638d37534aba54aa.zip |
Remove some overzealous command checks
Diffstat (limited to 'bash/bashrc.d/git.bash')
-rw-r--r-- | bash/bashrc.d/git.bash | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/bash/bashrc.d/git.bash b/bash/bashrc.d/git.bash index ba45d4ad..76477fa9 100644 --- a/bash/bashrc.d/git.bash +++ b/bash/bashrc.d/git.bash @@ -1,12 +1,7 @@ -# Bail if no git(1) -if ! hash git 2>/dev/null ; then - return -fi - # Completion for git local branch names _git() { - # Bail if not a git repo + # Bail if not a git repo (or no git!) if ! git rev-parse --git-dir >/dev/null 2>&1 ; then return 1 fi |