-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
45 lines (36 loc) · 1.01 KB
/
.bashrc
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
36
37
38
39
40
41
42
43
44
45
export PATH=/usr/local/bin:$PATH
export PATH=$HOME/local/bin:$PATH
export PATH=$HOME/.rvm/bin:$PATH
export PATH=$HOME/.yarn/bin:$PATH
export PATH=$HOME/.local/bin:$PATH
export PATH=./node_modules/.bin:$PATH
export PATH=$HOME/tmux/bin:$PATH
export PATH=/usr/local/go/bin:$PATH
export GOPATH=$HOME/work/gocode
export EDITOR=nvim
if [ -e "$HOME/.rvm/scripts/rvm" ]; then
source $HOME/.rvm/scripts/rvm
fi
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
alias gs='git status'
alias gc='git checkout'
alias gd='git diff'
alias gdc='git diff --cached'
alias gl='git log'
alias ga='git add'
alias gb='git branch'
alias h='systemctl hibernate'
alias sl='systemctl suspend'
alias dc='docker-compose'
set -o vi
if [[ "$OSTYPE" == "linux-gnu" ]]; then
setxkbmap -option caps:escape
alias vim="~/neovim/nvim.appimage"
elif [[ "$OSTYPE" == "darwin"* ]]; then
alias vim="nvim"
fi
source ~/work/dotfiles/tmuxinator.bash
# Use ag for FZF and have it respect .gitignore.
export FZF_DEFAULT_COMMAND='ag --hidden --ignore .git -g ""'