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

Convert for use with Fish? #69

Open koesherbacon opened 5 years ago

koesherbacon commented 5 years ago

Hello, do you think its possible to convert this for use with Fish? I realize that this isn't really an issue but since git does not have a messaging feature I can't think of another way to ask what you think. It's an awesome concept which I'd totally use all the time except my shell of choice is Fish. Zsh is a little too overly complicated and feature-rich for my taste.

MichaelAquilina commented 5 years ago

Hi there @koesherbacon

Based on this documentation it should not be impossible to make a fish version of this plugin: https://fishshell.com/docs/2.2/commands.html#function-description

I would suggest you give it a go as it doesnt look too difficult :) You would mainly be looking to find replacements for these hooks:

https://github.com/MichaelAquilina/zsh-you-should-use/blob/master/you-should-use.plugin.zsh#L155-L170

There might also be some zsh specific syntax which you would need to change