Last active
April 24, 2019 14:54
-
-
Save vizjerai/81c466e9fddb1fd394332ff2eec74990 to your computer and use it in GitHub Desktop.
bashrc
This file contains 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
# Required to allow for git branch completion to work. | |
# brew install bash-completion | |
if [ -f `brew --prefix`/etc/bash_completion ]; then | |
. `brew --prefix`/etc/bash_completion | |
fi | |
# use NVIM | |
# brew install nvim | |
alias vi=nvim | |
# set default editor to NVIM | |
export EDITOR=nvim | |
export VISUAL=nvim | |
# ignore common large directories in grep | |
export GREP_OPTIONS='--exclude-dir=.git --exclude-dir=tmp' | |
# override common tool with useful arguments | |
alias grep='grep --color' | |
alias ls='ls -FG' | |
alias la='ls -lah' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment