turn on the amazing zmv

- alias it to use 'noglob zmv -W', so that you can do stuff like
   zmv foo.* bar.*
  to rename all foo files to bar files without annoying quoting.
http://grml.org/zsh/zsh-lovers.html#_zmv_examples_require_autoload_zmv
This commit is contained in:
Taybin Rutkin 2012-03-12 21:57:45 -04:00
parent 2d4041a93e
commit 3a0a8c8777

View File

@ -36,6 +36,10 @@ __git_files () {
# Always pushd when changing directory # Always pushd when changing directory
setopt auto_pushd setopt auto_pushd
# Use zmv, which is amazing
autoload -U zmv
alias zmv="noglob zmv -W"
# Fuzzy matching of completions for when you mistype them: # Fuzzy matching of completions for when you mistype them:
zstyle ':completion:*' completer _complete _match _approximate zstyle ':completion:*' completer _complete _match _approximate
zstyle ':completion:*:match:*' original only zstyle ':completion:*:match:*' original only