Wp-cli autocomplete easy installed

Installing wp-cli with 2 command:

#!/usr/bin/env bash
wget https://raw.githubusercontent.com/wp-cli/wp-cli/master/utils/wp-completion.bash -O ~/wp-completion.bash -q
echo "source $HOME/wp-completion.bash" >> ~/.bashrc

And logout then login again for it to take effect.