Constantly showing suggestion even when using suggestion
bduff9 opened this issue · 0 comments
bduff9 commented
Hello! Just installed this yesterday and am unsure if I am missing something as it doesn't seem to work as expected. I tried using the various config options to change the behavior but am currently stuck.
If I use a command that has an alias, such as npm i -g yarn
, I get a correct suggestion to use npmg yarn
instead. However, when I use that, I get the same suggestion. Would love to use the force option to force me to use aliases, but this currently means I can run no commands that have an alias.
Some sample output when I have force on:
❯ zshconfig
Alias tip: zshconfig
❯ zshconfig
Alias tip: zshconfig
❯ npmg yarn
Alias tip: npmg yarn
❯ nano ~/Dropbox/ohmyzsh/zshrc
Alias tip: nano ~/Dropbox/ohmyzsh/zshrc
The current options I have set in my .zshrc are:
# Alias-tips options
export ZSH_PLUGINS_ALIAS_TIPS_TEXT="Alias tip: "
export ZSH_PLUGINS_ALIAS_TIPS_EXCLUDES="ls"
export ZSH_PLUGINS_ALIAS_TIPS_EXPAND=1
export ZSH_PLUGINS_ALIAS_TIPS_FORCE=1
export ZSH_PLUGINS_ALIAS_TIPS_REVEAL=0
export ZSH_PLUGINS_ALIAS_TIPS_REVEAL_TEXT="Alias was: "
export ZSH_PLUGINS_ALIAS_TIPS_REVEAL_EXCLUDES=(ls)
Would love to use this plugin so any help would be appreciated!