|
|
@ -48,17 +48,20 @@ alias sftp='noglob sftp'
|
|
|
|
# Define general aliases.
|
|
|
|
# Define general aliases.
|
|
|
|
alias _='sudo'
|
|
|
|
alias _='sudo'
|
|
|
|
alias b='${(z)BROWSER}'
|
|
|
|
alias b='${(z)BROWSER}'
|
|
|
|
alias cp="${aliases[cp]:-cp} -i"
|
|
|
|
|
|
|
|
alias e='${(z)VISUAL:-${(z)EDITOR}}'
|
|
|
|
alias e='${(z)VISUAL:-${(z)EDITOR}}'
|
|
|
|
alias ln="${aliases[ln]:-ln} -i"
|
|
|
|
|
|
|
|
alias mkdir="${aliases[mkdir]:-mkdir} -p"
|
|
|
|
alias mkdir="${aliases[mkdir]:-mkdir} -p"
|
|
|
|
alias mv="${aliases[mv]:-mv} -i"
|
|
|
|
|
|
|
|
alias p='${(z)PAGER}'
|
|
|
|
alias p='${(z)PAGER}'
|
|
|
|
alias po='popd'
|
|
|
|
alias po='popd'
|
|
|
|
alias pu='pushd'
|
|
|
|
alias pu='pushd'
|
|
|
|
alias rm="${aliases[rm]:-rm} -i"
|
|
|
|
|
|
|
|
alias type='type -a'
|
|
|
|
alias type='type -a'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if zstyle -T ':prezto:module:utility:aliases' interactive; then
|
|
|
|
|
|
|
|
alias cp="${aliases[cp]:-cp} -i"
|
|
|
|
|
|
|
|
alias ln="${aliases[ln]:-ln} -i"
|
|
|
|
|
|
|
|
alias mv="${aliases[mv]:-mv} -i"
|
|
|
|
|
|
|
|
alias rm="${aliases[rm]:-rm} -i"
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# ls
|
|
|
|
# ls
|
|
|
|
if is-callable 'dircolors'; then
|
|
|
|
if is-callable 'dircolors'; then
|
|
|
|
# GNU Core Utilities
|
|
|
|
# GNU Core Utilities
|
|
|
|