zsh global aliases
This commit is contained in:
parent
d6db0e4b48
commit
3d6a08c9b5
@ -27,11 +27,6 @@ alias root='sudo -i TMOUT=450'
|
|||||||
alias rm='rm -Ivr --one-file-system'
|
alias rm='rm -Ivr --one-file-system'
|
||||||
alias mkdir='mkdir -pv'
|
alias mkdir='mkdir -pv'
|
||||||
|
|
||||||
alias cd..='cd ..'
|
|
||||||
alias ..='cd ..'
|
|
||||||
alias ...='cd ../..'
|
|
||||||
alias ....='cd ../../..'
|
|
||||||
alias .3='cd ../../..'
|
|
||||||
alias cl='_d() { cd "${1:-$HOME}" && ls; }; _d'
|
alias cl='_d() { cd "${1:-$HOME}" && ls; }; _d'
|
||||||
|
|
||||||
alias q='exit 0'
|
alias q='exit 0'
|
||||||
|
|||||||
@ -7,6 +7,15 @@ alias -g HL='| highlight -O ansi -S '
|
|||||||
alias -g JSON='| json HL json'
|
alias -g JSON='| json HL json'
|
||||||
alias -g DI='| diff'
|
alias -g DI='| diff'
|
||||||
alias -g ?='| grep'
|
alias -g ?='| grep'
|
||||||
|
alias -g C='| wc -l'
|
||||||
|
|
||||||
|
alias -g ...='../..'
|
||||||
|
alias -g ....='../../..'
|
||||||
|
alias -g .3='../../..'
|
||||||
|
alias -g .....='../../../..'
|
||||||
|
alias -g .4='../../../..'
|
||||||
|
|
||||||
|
alias -g D="DISPLAY=:0.0"
|
||||||
|
|
||||||
alias -g O="1>/dev/null" # stdOut
|
alias -g O="1>/dev/null" # stdOut
|
||||||
alias -g E="2>/dev/null" # stdErr
|
alias -g E="2>/dev/null" # stdErr
|
||||||
|
|||||||
@ -6,6 +6,7 @@ setopt notify # report the status of background jobs immediately
|
|||||||
setopt numericglobsort # sort filenames numerically when it makes sense
|
setopt numericglobsort # sort filenames numerically when it makes sense
|
||||||
setopt promptsubst # enable command substitution in prompt
|
setopt promptsubst # enable command substitution in prompt
|
||||||
setopt noflowcontrol # disable C-s mapping
|
setopt noflowcontrol # disable C-s mapping
|
||||||
|
setopt autocd
|
||||||
|
|
||||||
|
|
||||||
DIRSTACKSIZE=8
|
DIRSTACKSIZE=8
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user