4 ms·
Funky manages funks, which are just basically (exactly really) shell functions. What makes them cool is how easy they are to define and the way that Funky manag
by bbugyi200 8y ago
Funky manages funks, which are just basically (exactly really) shell functions. What makes them cool is how easy they are to define and the way that Funky manages them.
One of it's key features is that it enables you to define shell functions that are local to a specific directory, but Funky also does a bit more behind the scenes to add some value. For example it also:
* Checks for aliases of the same name and disables them if any exist (this can cause annoying ZSH errors if you tried to define the function manually).
* Appends special bash paraemeters (e.g. "$@") when appropriate so funks act more like aliases without the drawbacks.
* Tries to predict how ZSH completion should be defined, running a `compdef` command if it succeeds. (It needs a little more work in this area I think.)
And I think there's definitely some potential for greater functionality going forward.