1
0

Git version fixes

This commit is contained in:
Noah 2014-10-08 19:01:51 +00:00
parent 7e61a337fa
commit 9209b7ce4a
2 changed files with 12 additions and 1 deletions

View File

@ -92,6 +92,17 @@ function title {
PROMPT_COMMAND="echo -en \"\033]0;$1\007\""
}
# Custom git command that overrides $PATH settings
function git {
if [ -x "/usr/local/bin/git" ]; then
/usr/local/bin/git $@
elif [ -x "/usr/bin/git" ]; then
/usr/bin/git $@
else
echo "git isn't installed"
fi
}
# Case-insensitive searching.
shopt -s nocaseglob

View File

@ -19,4 +19,4 @@
branch = auto
[push]
default = matching
default = simple