From: Samir Benmendil Date: Sat, 9 Apr 2016 15:46:55 +0000 (+0100) Subject: zsh: Don't error out if pattern doesn't match X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/9e04084deedc31c6c0b25b23b012915238e4a6cf zsh: Don't error out if pattern doesn't match Avoids having to quote urls. --- diff --git a/zshrc b/zshrc index aad02d3..c4d1d1d 100644 --- a/zshrc +++ b/zshrc @@ -24,7 +24,7 @@ autoload -U compinit; compinit -d "$ZSH_CACHE/zcompdump" # miscelaneous options setopt extendedglob -setopt cshnullglob # if glob does not match, remove pattern, if no glob matches print error +setopt nonomatch # if glob does not match, pass it to the command setopt numeric_glob_sort # sort numerically not lexically setopt noclobber # don't allow overwriting files with '>', use '>!' instead setopt notify