aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bash_profile6
1 files changed, 3 insertions, 3 deletions
diff --git a/bash_profile b/bash_profile
index ab591e3..df81cbe 100644
--- a/bash_profile
+++ b/bash_profile
@@ -8,16 +8,16 @@ export TERM=screen-256color
#git function
function _set_git_envar_info() {
- GIT_BRANCH=""
+ GIT_BRANCH=""
GIT_PREFIX=""
- GIT_STATE=""
+ GIT_STATE=""
CHECK_SHIT="lol"
RVM_COMMAND=$(rvm-prompt)
if [[ $RVM_COMMAND == "" ]]
then
RVM_COMMAND="system"
fi
- if [[ $(which git 2> /dev/null) ]]
+ if [ -f `which git` ];
then
local STATUS
STATUS=$(git status 2>/dev/null)