Browse Source

utility: fix safe-ops commands

Fixes #1699
master
Kaleb Elwert 5 years ago
parent
commit
f389606d62
  1. 8
      modules/utility/init.zsh

8
modules/utility/init.zsh

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