Last active
August 29, 2015 14:11
-
-
Save rroblak/6b5a8ae89013fe4ddc14 to your computer and use it in GitHub Desktop.
Various bash configs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source /etc/bash_completion.d/git | |
function g { | |
if [ $# -gt 0 ]; then | |
git "$@" | |
else | |
git status | |
fi | |
} | |
complete -o bashdefault -o default -o nospace -F _git g 2>/dev/null \ || complete -o default -o nospace -F _git g | |
export GREP_OPTIONS='--color=auto' | |
export GREP_COLORS='mt=01;34' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment