Tab Completion

EasyEngine comes with a tab completion script for Bash and ZSH.

Bash

If you use bash, run:

wget -qO ~/.ee-completion.bash https://raw.githubusercontent.com/EasyEngine/easyengine/master/utils/ee-completion.bash
echo 'source ~/.ee-completion.bash' >> ~/.bash_profile
source ~/.ee-completion.bash

ZSH

If you use zsh, run:

curl https://raw.githubusercontent.com/EasyEngine/easyengine/develop/utils/ee-completion.zsh | sudo tee /usr/share/zsh/vendor-completions/_ee

echo 'autoload -Uz compinit && compinit' >> $HOME/.zshrc

Post Installation

Every time you do invoke tab completions, EasyEngine is invoked. EasyEngine requires sudo to run. So ensure that you don’t get prompted for password every time you invoke a completion(which is stupid, we know), add following in /etc/sudoers or use visudo command:

USERNAME ALL= NOPASSWD: /usr/local/bin/ee /usr/bin/docker /usr/local/bin/docker-compose

replace USERNAME with the user of your system