When running a command that has both a shell alias and a Git alias, zsh-you-should-use prints two “you should use” messages:
$ git diff --cached
Found existing alias for "git diff --cached". You should use: "gdc"
Found existing git alias for "diff". You should use: "git d"
I think it would be nicer to just show the Shell alias in this case, because it’s shorter. It seems probably that if there’s a matching shell alias, that would be the user’s preference.
Please provide the following details when opening an issue:
Issue Details
When running a command that has both a shell alias and a Git alias, zsh-you-should-use prints two “you should use” messages:
I think it would be nicer to just show the Shell alias in this case, because it’s shorter. It seems probably that if there’s a matching shell alias, that would be the user’s preference.
Please provide the following details when opening an issue:
Operating System (uname -a)
macOS
zsh version (zsh --version)
5.8.1
you-should-use version (echo "$YSU_VERSION")
1.7.3
How is zsh-you-should-use installed?
Steps to reproduce the issue
Above
gist link to your zshrc
no