[update] Add more aliases
This commit is contained in:
parent
d3af14c21e
commit
bdbe4ba3ed
1 changed files with 4 additions and 2 deletions
|
@ -7,6 +7,7 @@ alias nfe='neofetch'
|
||||||
|
|
||||||
# navigation
|
# navigation
|
||||||
alias ~='cd ~'
|
alias ~='cd ~'
|
||||||
|
alias .-='cd -'
|
||||||
alias cd..='cd ..'
|
alias cd..='cd ..'
|
||||||
alias ..='cd ..'
|
alias ..='cd ..'
|
||||||
alias ...='cd ../..'
|
alias ...='cd ../..'
|
||||||
|
@ -24,16 +25,17 @@ alias e="$EDITOR"
|
||||||
alias r='bat'
|
alias r='bat'
|
||||||
|
|
||||||
# Git
|
# Git
|
||||||
alias gp='git push'
|
alias push='git push'
|
||||||
alias commit='git commit -S'
|
alias commit='git commit -S'
|
||||||
alias clone='git clone'
|
alias clone='git clone'
|
||||||
|
alias add='git add'
|
||||||
|
alias status='git status'
|
||||||
|
|
||||||
# Colorize grep output (good for log files)
|
# Colorize grep output (good for log files)
|
||||||
alias grep='grep --color=auto'
|
alias grep='grep --color=auto'
|
||||||
alias egrep='egrep --color=auto'
|
alias egrep='egrep --color=auto'
|
||||||
alias fgrep='fgrep --color=auto'
|
alias fgrep='fgrep --color=auto'
|
||||||
|
|
||||||
|
|
||||||
# confirm before overwriting something
|
# confirm before overwriting something
|
||||||
alias cp="cp -i"
|
alias cp="cp -i"
|
||||||
alias mv='mv -i'
|
alias mv='mv -i'
|
||||||
|
|
Loading…
Reference in a new issue