aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorAlexis Hovorka <[email protected]>2020-10-29 18:58:36 -0600
committerAlexis Hovorka <[email protected]>2020-10-29 18:58:36 -0600
commit60dcbdd4fbcf91344dceab5b984afe32b3e21f8e (patch)
tree17499b9bb66dbe5e6938f656ce4d7b2d3e91fba1 /base
parent12064a21c5441d5487ed2bea547985a7650d7b88 (diff)
[fix] Re-alias cp,mkdir,mv so the options actually work
Diffstat (limited to 'base')
-rw-r--r--base/zsh/aliases.zsh6
-rw-r--r--base/zsh/correction.zsh2
2 files changed, 3 insertions, 5 deletions
diff --git a/base/zsh/aliases.zsh b/base/zsh/aliases.zsh
index 05da4ff..7b2339c 100644
--- a/base/zsh/aliases.zsh
+++ b/base/zsh/aliases.zsh
@@ -29,9 +29,9 @@ alias -s {jpg,png,gif}='feh'
alias -s {wmv,mp4,avi,flv,mkv,mp3,ogg,flac,wav}='mplayer'
# SAFETY
-alias cp="cp -riv"
-alias mkdir="mkdir -vp"
-alias mv="mv -iv"
+alias cp="nocorrect cp -riv"
+alias mkdir="nocorrect mkdir -vp"
+alias mv="nocorrect mv -iv"
# GIT
alias gits='git status --short'
diff --git a/base/zsh/correction.zsh b/base/zsh/correction.zsh
index ce25627..ed79b63 100644
--- a/base/zsh/correction.zsh
+++ b/base/zsh/correction.zsh
@@ -1,7 +1,5 @@
setopt correct_all
alias man='nocorrect man'
-alias mv='nocorrect mv'
-alias mkdir='nocorrect mkdir'
alias gist='nocorrect gist'
alias sudo='nocorrect sudo'
alias npm='nocorrect npm'