| | |
| | | #Mac OSX specific versions |
| | | alias ls="ls -G" |
| | | [ -d /usr/local/opt/llvm/bin ] && PATH="$PATH:/usr/local/opt/llvm/bin" |
| | | [ -d "$(brew --prefix coreutils)/libexec/gnubin" ] && export PATH="$(brew --prefix coreutils)/libexec/gnubin:$PATH" |
| | | [ -d "$(brew --prefix grep)/libexec/gnubin" ] && export PATH="$(brew --prefix grep)/libexec/gnubin:$PATH" |
| | | [ -d "$(brew --prefix findutils)/libexec/gnubin" ] && export PATH="$(brew --prefix findutils)/libexec/gnubin:$PATH" |
| | | else |
| | | #Linux + others as default |
| | | alias ls="ls --color=auto" |
| | |
| | | |
| | | #export EDITOR="/usr/bin/emacsclient -nw -a /usr/bin/vim" |
| | | #alias ec=$EDITOR |
| | | alias ec="/usr/bin/emacsclient -nw -a /usr/bin/vim" |
| | | [ -n "$(whereis vim)" ] && export EDITOR="/usr/bin/vim" |
| | | alias ec="/usr/bin/emacsclient -nw -a $(which vim)" |
| | | [ -n "$(which vim)" ] && export EDITOR="$(which vim)" |
| | | |
| | | #default wine prefix |
| | | [ -n "$(whereis wine)" ] && export WINEPREFIX=$HOME/.wine/Games/ |