-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_aliases
25 lines (22 loc) · 918 Bytes
/
.bash_aliases
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
fi
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
alias vi=vim
alias less='/usr/share/vim/vim82/macros/less.sh'
alias git=hub
alias gitpp="git pull --rebase && git push"
alias gitst="git status -sb"
alias gitlg="git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
alias gitcl="git clean -fdX"
alias gitlgl="git log --stat --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --graph --abbrev-commit"
alias gitpr="git pull --rebase --autostash"
alias cat=bat
alias sagi="sudo apt-get install -y"
alias sagu="sudo apt-get update"