Browse Source

add nocorrection options that omz doesn't cover

Weiyi Lou 13 years ago
parent
commit
f36b4cf6d1
2 changed files with 5 additions and 1 deletions
  1. 4 0
      zsh/omz-custom/correction.zsh
  2. 1 1
      zsh/zshrc

+ 4 - 0
zsh/omz-custom/correction.zsh

@@ -0,0 +1,4 @@
+# Don't suggest corrections for these commands, in inclusion to omz's defaults
+alias cp='nocorrect cp'
+alias ln='nocorrect ln'
+alias touch='nocorrect touch'

+ 1 - 1
zsh/zshrc

@@ -37,7 +37,7 @@ source $ZSH/oh-my-zsh.sh
 # Customize to your needs...
 #  Most customisations are now under ZSH_CUSTOM
 
-## include settings specific to this machine
+# Load settings specific to this machine
 if [[ -r ~/.zshlocal ]]; then
     source ~/.zshlocal
 fi