Editing Bash completion
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 16: | Line 16: | ||
Add the following lines to your ~/.bash_profile or ~/.bashrc (depending on your preferred setup of startup files): | Add the following lines to your ~/.bash_profile or ~/.bashrc (depending on your preferred setup of startup files): | ||
export BASH_COMPLETION_COMPAT_DIR="/usr/local/etc/bash_completion.d" | export BASH_COMPLETION_COMPAT_DIR="/usr/local/etc/bash_completion.d" | ||
− | + | [[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] && . "/usr/local/etc/profile.d/bash_completion.sh" | |
− | + | ||
− | + | ||
Install the ZFS bash completions: | Install the ZFS bash completions: | ||
cd /usr/local/share/bash-completion/completions | cd /usr/local/share/bash-completion/completions |