-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bash_profile
35 lines (30 loc) · 995 Bytes
/
.bash_profile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# git niceness
export GIT_PS1_SHOWDIRTYSTATE=1
# env niceness
set -o vi
export CLICOLOR=1
# export PS1="\[\033[01;32m\]\h\[\033[01;34m\] \w\[\033[35m\]\$(__git_ps1)\[\033[00m\]: "
bind "set completion-ignore-case on"
bind "set show-all-if-ambiguous on"
bind "TAB:menu-complete"
# path mods
export PATH=~/.local/bin:~/.dotnet:~/scripts:$PATH
# home vars
export EDITOR=/usr/bin/vim
# command shortcuts
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
if [[ `uname` != 'Darwin' ]]; then
alias ls='ls --color=tty'
fi
alias l='ls -hal --color'
alias ll='l |less'
alias less='less -R'
alias tmux='TERM=xterm-256color tmux'
alias myip='curl http://icanhazip.com'
# alias gvim='/mnt/c/Program\ Files\ \(x86\)/Vim/vim80/gvim.exe'
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
. "$HOME/.cargo/env"