MichaelAquilina / zsh-you-should-use

📎 ZSH plugin that reminds you to use existing aliases for commands you just typed
GNU General Public License v3.0
1.46k stars 43 forks source link

Support whitelist for ignoring certain commands #7

Closed rdnetto closed 7 years ago

rdnetto commented 7 years ago

My use case for this is that I have ls aliased to fix a common typo, but I don't want to be reminded of that every time I run it.

$ ls
Found existing alias for "ls". You should use: "sl"
MichaelAquilina commented 7 years ago

interesting use case. Should also be relatively simple to solve

MichaelAquilina commented 7 years ago

Maybe a different approach would be to allow an option that ignores aliases that are of the same length of the command it represents?

MichaelAquilina commented 7 years ago

@rdnetto take a look at #8

rdnetto commented 7 years ago

Thanks, works perfectly.