1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 15:08:01 +00:00

utility: fix safe-ops commands

Fixes #1699
This commit is contained in:
Kaleb Elwert 2019-09-21 17:29:18 -07:00
parent 9507a0e881
commit 2873885d37

View File

@ -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