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
This commit is contained in:
Oliver Davies 2020-06-21 00:30:04 +01:00
parent e0c9014ec0
commit d7e43100bc

View file

@ -0,0 +1,3 @@
# Fix "zsh: no matches found: HEAD^" error.
# See https://github.com/opdavies/dotfiles/issues/14.
setopt NO_NOMATCH