#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)