Re: [Fish-users] Adding functions to share/functions: acceptability?

2017-12-08 Thread Michael Stillwell
On Fri, Dec 8, 2017 at 9:41 PM, David Adam wrote: >>3. which directory should I place such functions in, on an installed >> fish instance, to test them? ~/.config/fish/functions? > > That's the easiest way! You've probably discovered this, but sometimes fish

Re: [Fish-users] Adding functions to share/functions: acceptability?

2017-12-08 Thread David Adam
Hi David, On Fri, 8 Dec 2017, David Guyot wrote: > I'm working on completions for zfs and zpool commands, but there are > some shared functions between them, for instance for zpool completions > accepting zfs properties. On one hand, I'm reluctant to duplicate code, > as it is likely that, when a

[Fish-users] Adding functions to share/functions: acceptability?

2017-12-08 Thread David Guyot
Hello, there. I'm working on completions for zfs and zpool commands, but there are some shared functions between them, for instance for zpool completions accepting zfs properties. On one hand, I'm reluctant to duplicate code, as it is likely that, when a copy will be improved, the other one will