1
0
Fork 0

utility: fix safe-ops commands

Fixes #1699
pull/1742/head
Kaleb Elwert 5 years ago
parent 9507a0e881
commit 2873885d37

@ -66,10 +66,10 @@ alias mvi="${aliases[mv]:-mv} -i"
alias cpi="${aliases[cp]:-cp} -i" alias cpi="${aliases[cp]:-cp} -i"
alias lni="${aliases[ln]:-ln} -i" alias lni="${aliases[ln]:-ln} -i"
if zstyle -T ':prezto:module:utility' safe-ops; then if zstyle -T ':prezto:module:utility' safe-ops; then
alias rm='rmi' alias rm="${aliases[rm]:-rm} -i"
alias mv='mvi' alias mv="${aliases[mv]:-mv} -i"
alias cp='cpi' alias cp="${aliases[cp]:-cp} -i"
alias ln='lni' alias ln="${aliases[ln]:-ln} -i"
fi fi
# ls # ls

Loading…
Cancel
Save