Page 1 of 1

zfs/zpool command completion...

PostPosted: Mon Oct 29, 2018 9:11 pm
by tangles
Hi all…
in bash, if I:
Code: Select all
# zfs snapshot po<kbd>Tab</kbd> → # zfs snapshot pool


is this an add on to just macOS, or should I submit an enhancement to openZFS on OSX ?

I thought I had it in the past but now I can't remember whether I moved some files from another platform in the man pages area or not...

Re: zfs/zpool command completion...

PostPosted: Mon Oct 29, 2018 10:27 pm
by lundman
Those are bash completion rules - I'm aware they exist but I don't think we include them with O3X. https://openzfsonosx.org/wiki/Bash_completion

Re: zfs/zpool command completion...

PostPosted: Wed Oct 31, 2018 2:03 pm
by tangles
ta mate,

added
Code: Select all
sudo chmod -R  ugo+x /usr/local/etc/bash_completion.d/zfs
to the end of that wiki too.