The default .zshrc file for manjaro has the following enabled
setopt extendedglob
Because of this attempts to use the git shortcut ^ which allows to refer to the parent of a given commit (HEAD^ or ${abbreviated_commit_hash}^ ) is interpreted as an inverted file glob which doesn't match anything.
This issue was also reported against oh-my-zsh https://github.com/robbyrussell/oh-my-zsh/issues/449 and fixed by adding unsetopt nomatch which results in simply using the command as is if the pattern matching fails instead of reporting a failure.
The default
.zshrc
file for manjaro has the following enabledBecause of this attempts to use the git shortcut
^
which allows to refer to the parent of a given commit (HEAD^
or ${abbreviated_commit_hash}^ ) is interpreted as an inverted file glob which doesn't match anything.This issue was also reported against oh-my-zsh https://github.com/robbyrussell/oh-my-zsh/issues/449 and fixed by adding
unsetopt nomatch
which results in simply using the command as is if the pattern matching fails instead of reporting a failure.