zfs/zpool command completion...

Developer discussions.

zfs/zpool command completion...

Postby tangles » Mon Oct 29, 2018 9:11 pm

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...
tangles
 
Posts: 195
Joined: Tue Jun 17, 2014 6:54 am

Re: zfs/zpool command completion...

Postby lundman » Mon Oct 29, 2018 10:27 pm

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
User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: zfs/zpool command completion...

Postby tangles » Wed Oct 31, 2018 2:03 pm

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.
tangles
 
Posts: 195
Joined: Tue Jun 17, 2014 6:54 am


Return to OpenZFS on OS X Development

Who is online

Users browsing this forum: No registered users and 9 guests