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" @@ -66,10 +66,10 @@ 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='rmi'
alias mv='mvi'
alias cp='cpi'
alias ln='lni'
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

Loading…
Cancel
Save