0.2.0 • Published 5 years ago
whaler-completion-plugin v0.2.0
Whaler completion plugin
This plugin generate completion for whaler.
Install
whaler plugins:install whaler-completion-pluginBash
Make sure bash completion is installed.
Linux
On a current Linux OS (in a non-minimal installation), bash completion should be available.
sudo apt-get install bash-completionMac OS
Install with brew install bash-completion.
brew install bash-completionAdd the following to your ~/.bash_profile:
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fiIf you’re using MacPorts instead of brew, use the following steps instead:
sudo port install bash-completionAdd the following lines to ~/.bash_profile:
if [ -f /opt/local/etc/profile.d/bash_completion.sh ]; then
. /opt/local/etc/profile.d/bash_completion.sh
fiNB! You can source your
~/.bash_profileor launch a new terminal to utilize completion.
Usage
sudo sh -c 'echo | whaler completion > /etc/bash_completion.d/whaler'NB! Place the completion script in
/usr/local/etc/bash_completion.d/whaleron a Mac OS.
License
This software is under the MIT license. See the complete license in:
LICENSE