|
|
@ -73,15 +73,21 @@ alias mkdir="${aliases[mkdir]:-mkdir} -p" |
|
|
|
alias p='${(z)PAGER}' |
|
|
|
alias p='${(z)PAGER}' |
|
|
|
alias po='popd' |
|
|
|
alias po='popd' |
|
|
|
alias pu='pushd' |
|
|
|
alias pu='pushd' |
|
|
|
if zstyle -T ':prezto:module:utility' safe-ops; then |
|
|
|
|
|
|
|
alias rm="${aliases[rm]:-rm} -i" |
|
|
|
|
|
|
|
alias mv="${aliases[mv]:-mv} -i" |
|
|
|
|
|
|
|
alias cp="${aliases[cp]:-cp} -i" |
|
|
|
|
|
|
|
alias ln="${aliases[ln]:-ln} -i" |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
alias sa='alias | grep -i' |
|
|
|
alias sa='alias | grep -i' |
|
|
|
alias type='type -a' |
|
|
|
alias type='type -a' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Safe ops. Ask the user before doing anything destructive. |
|
|
|
|
|
|
|
alias rmi="${aliases[rm]:-rm} -i" |
|
|
|
|
|
|
|
alias mvi="${aliases[mv]:-mv} -i" |
|
|
|
|
|
|
|
alias cpi="${aliases[cp]:-cp} -i" |
|
|
|
|
|
|
|
alias lni="${aliases[ln]:-ln} -i" |
|
|
|
|
|
|
|
if zstyle -T ':prezto:module:utility' safe-ops; then |
|
|
|
|
|
|
|
alias rm="${aliases[rm]:-rm} -i" |
|
|
|
|
|
|
|
alias mv="${aliases[mv]:-mv} -i" |
|
|
|
|
|
|
|
alias cp="${aliases[cp]:-cp} -i" |
|
|
|
|
|
|
|
alias ln="${aliases[ln]:-ln} -i" |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# ls |
|
|
|
# ls |
|
|
|
if is-callable 'dircolors'; then |
|
|
|
if is-callable 'dircolors'; then |
|
|
|
# GNU Core Utilities |
|
|
|
# GNU Core Utilities |
|
|
|