Bash Completion
Scuba supports command-line completion using the argcomplete package. Per the argcomplete README, command-line completion can be activated by:
Running
eval "$(register-python-argcomplete scuba)"manually to enable completion in the current shell instanceAdding
eval "$(register-python-argcomplete scuba)"to~/.bash_completionRunning
activate-global-python-argcomplete --userto install the script~/.bash_completion.d/python-argcomplete.Note
The generated file must be sourced, which is not the default behavior. Adding the following code block to
~/.bash_completionis one possible solution:for bcfile in ~/.bash_completion.d/*; do [ -f "$bcfile" ] && . "$bcfile" done
Running
activate-global-python-argcompleteasroot(orsudo) to useargcompletefor all users