Hi ! I was in the middle of very long and boring transatlantic flight and played with zfs and gzip compression on my laptop. And I just thought that it may be quite useful for your shell to be able to autocomplete the arguments to the zfs/zpool command. So I quickly hacked together a script which defines the necessary complete clauses (yes I am a tcsh user). After playing with it for a while I decided to share it with community in a hope that it may be improved/extended and be a useful tool in day to day zfs administration. -- Regards, Cyril -------------- next part -------------- A non-text attachment was scrubbed... Name: zfs_tcsh_completion Type: application/octet-stream Size: 2683 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20070509/25871024/attachment.obj>
On 8 May, 2007, at 22.51, Cyril Plisko wrote:> > So I quickly hacked together a script which defines the necessary > complete clauses (yes I am a tcsh user). After playing with it > for a while I decided to share it with community in a hope that > it may be improved/extended and be a useful tool in day to day > zfs administration.Excellent. I like it. You''ve inspired me to put one together for bash. It''d be nice to get 6540584 fixed (for zpool as well as zfs) too, as this would simplify the implementation. Regards, markm