I am trying to set this simple alias:
alias git plog = git log --pretty=format:'%C(yellow)%h%Cred%d%Creset - %C(cyan)%an %Creset: %s %Cgreen(%cr)'
In my .zshrc file. When I reload I get this:
no matches found: git log --pretty=format:%C(yellow)%h%Cred%d%Creset
If I put this in my .gitconfig
[alias]
ci = commit
plog = log --pretty=format:'%C(yellow)%h%Cred%d%Creset - %C(cyan)%an %Creset: %s %Cgreen(%cr)'
Zsh shell gives me this each time:
$git:(embedded_gifs) git plog
zsh: correct 'plog' to 'log' [nyae]? n
Any ideas to fix this ?