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 miss it; on the other hand, such functions could be helpful for other programs, like the ones listing available pools and properties.
For these reasons, I would like to migrate such functions in
share/functions, but I have some questions:
1. would it be right to place such helper functions in share/functions?
2. are there established criteria for judging the relevance of such
placements? For instance, accept functions only displaying lists of
suggestions, not altering the already typed-in command?
3. which directory should I place such functions in, on an installed
fish instance, to test them? ~/.config/fish/functions?
Please note that, for 1. and 3., I'm almost sure of the answer, but not
totally, hence the questions.
Awaiting your answers,
Regards.
--
David Guyot
Administrateur système / Sysadmin
Europe Camions Interactive / Stockway
Moulin Collot F-88500 Ambacourt
Tél : +33 (0)3 29 30 47 85
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
