Bash completion
From OpenZFS on OS X
Revision as of 22:04, 31 October 2018 by 130.194.145.231 (Talk)
Assuming you already have Homebrew installed
brew install bash-completion
Add the following lines to your ~/.bash_profile:
if [ -f $(brew --prefix)/etc/bash_completion ]; then . $(brew --prefix)/etc/bash_completion fi
Install the ZFS bash completions:
cd /usr/local/etc/bash_completion.d curl -O https://raw.githubusercontent.com/zfsonlinux/zfs/master/contrib/bash_completion.d/zfs sudo chmod -R ugo+x /usr/local/etc/bash_completion.d/zfs
Open a new terminal window.