Update aliases.zsh
This commit is contained in:
parent
f9c79caa78
commit
e399436a94
|
@ -3,9 +3,14 @@ alias cp="cp -i"
|
|||
alias mv="mv -i"
|
||||
alias rm="rm -i"
|
||||
alias mkdir="mkdir -p"
|
||||
|
||||
(( ${+commands[srm]} )) && alias srm="srm -i"
|
||||
|
||||
# Navigation
|
||||
alias ..="cd .."
|
||||
alias ...="cd ../.."
|
||||
alias ....="cd ../../.."
|
||||
alias .....="cd ../../../.."
|
||||
|
||||
# Misc.
|
||||
alias cl="clear"
|
||||
alias grep="grep --color=always"
|
||||
|
@ -13,7 +18,6 @@ alias ls="ls --color=always"
|
|||
alias q="exit"
|
||||
alias u="update.sh"
|
||||
alias zgrep="zgrep --color=always"
|
||||
|
||||
(( ${+commands[tmux]} )) && alias tmux="tmux -2u"
|
||||
|
||||
if (( ${+commands[exa]} )); then
|
||||
|
@ -49,9 +53,8 @@ elif [[ $(uname -o) == "GNU/Linux" ]]; then
|
|||
elif [[ $(lsb_release -si) == "Fedora" ]]; then
|
||||
alias dnfin="sudo dnf install"
|
||||
alias dnfrm="sudo dnf remove"
|
||||
alias dnfqi="sudo dnf info"
|
||||
alias dnfqs="sudo dnf list installed"
|
||||
alias dnfsi="sudo dnf repoquery --info"
|
||||
alias dnfsi="sudo dnf info"
|
||||
alias dnfss="sudo dnf search"
|
||||
elif [[ $(lsb_release -si) == "Ubuntu" ]]; then
|
||||
alias aptin="sudo apt install"
|
||||
|
|
Loading…
Reference in a new issue