From 3a0a8c87777fc9675e5da840f14e78c402191ab5 Mon Sep 17 00:00:00 2001 From: Taybin Rutkin Date: Mon, 12 Mar 2012 21:57:45 -0400 Subject: [PATCH] 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 --- zsh/zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zsh/zshrc b/zsh/zshrc index 4cc552e..1d1bda5 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -36,6 +36,10 @@ __git_files () { # Always pushd when changing directory 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: zstyle ':completion:*' completer _complete _match _approximate zstyle ':completion:*:match:*' original only