From d7e43100bc9925365c5aad06cc5c9e75ba78962a Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 21 Jun 2020 00:30:04 +0100 Subject: [PATCH] zsh: Fix "no matches found: HEAD^" error Add `options.zsh` and use `setopt NO_NOMATCH` to pass the bad match onto the command as per https://github.com/ohmyzsh/ohmyzsh/issues/449#issuecomment-6973326. Fixes #14 --- tag-zsh/zsh/configs/options.zsh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tag-zsh/zsh/configs/options.zsh diff --git a/tag-zsh/zsh/configs/options.zsh b/tag-zsh/zsh/configs/options.zsh new file mode 100644 index 0000000..095835c --- /dev/null +++ b/tag-zsh/zsh/configs/options.zsh @@ -0,0 +1,3 @@ +# Fix "zsh: no matches found: HEAD^" error. +# See https://github.com/opdavies/dotfiles/issues/14. +setopt NO_NOMATCH