1 2 3 4 5
autoload -U compinit && compinit autoload -U bashcompinit && bashcompinit script_dir=$(dirname $0) source ${script_dir}/bash_autocomplete