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.49k stars 44 forks source link

Make entry local #101

Closed xPMo closed 4 years ago

xPMo commented 4 years ago

entry was created globally instead of locally, possibly clobbering user's parameters.

xPMo commented 4 years ago

Yes.

I found it after having setopt warn_create_global. YSU happens to set entry='' after use:

$ entry=anything
$ echo $entry

$
MichaelAquilina commented 4 years ago

Thanks for the PR @xPMo !