forked from iamdionysus/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbashrc
47 lines (39 loc) · 908 Bytes
/
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
46
47
# .bashrc
# EDITOR
export EDITOR='vim'
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Path
if [ -d "$HOME/bin" ]; then
PATH="$HOME/bin:$PATH"
fi
# 256 color and make it work with tmux screen-256color
if [[ $TERM == xterm ]]; then TERM=xterm-256color; fi
# to make C-s, C-q work
stty -ixoff -ixon
# PATH
export PATH=/usr/local/bin:$PATH
# aliases
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias .....='cd ../../../..'
alias ......='cd ../../../../..'
alias cd.='cd ..'
alias cd..='cd ..'
alias l='ls -alF'
alias ll='ls -l'
alias vi='vim'
alias hc="history -c"
alias which='type -p'
alias gst='git status'
alias gss='git status --short'
alias glo='git log --oneline --decorate --color'
alias grv='git remote --verbose'
alias gaa='git add --all'
alias gca='git commit -am'
alias ggpush='git push'
alias ap='ansible-playbook'
alias gm='ghi milestone'