=================================================================== RCS file: /cvs/mtctl/mtctl-completion.bash,v retrieving revision 1.3 retrieving revision 1.4 diff -u -p -r1.3 -r1.4 --- mtctl/mtctl-completion.bash 2022/05/29 14:30:49 1.3 +++ mtctl/mtctl-completion.bash 2023/05/02 18:04:20 1.4 @@ -1,6 +1,6 @@ _mtctl_completions() { case $COMP_CWORD in - 1) local suggestions=($(compgen -W "start stop restart status create backup list version help" -- "${COMP_WORDS[1]}")) + 1) local suggestions=($(compgen -W "start stop restart status create backup enable disable list version help" -- "${COMP_WORDS[1]}")) ;; 2) if [ "${COMP_WORDS[1]}" == "help" ] || [ "${COMP_WORDS[1]}" == "list" ] || [ "${COMP_WORDS[1]}" == "version" ]; then return; fi local suggestions=($(cd $(cat $HOME/.mtctl/config | grep 'location' | sed -e 's/location\=//')/worlds && compgen -d "${COMP_WORDS[2]}"))