From 9e04084deedc31c6c0b25b23b012915238e4a6cf Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Sat, 9 Apr 2016 16:46:55 +0100 Subject: [PATCH] zsh: Don't error out if pattern doesn't match Avoids having to quote urls. --- zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.48.1