Skip to content

Completion

Terskikh Maria edited this page Sep 22, 2017 · 6 revisions

It is possible to enable Terminal completion for chkit

For Ubuntu:

Open .bashrc

$ nano ~/.bashrc

and make changes as follows:

source <(chkit genautocomplete)

For MacOs:

Install brew, the missing package manager for macOS:

$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install an additional bash-completion package with brew:

$ brew install bash-completion

Open  .bash_profile

$ nano ~/.bash_profile

and make changes as follows:

if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fi
source <(chkit genautocomplete)