Add bash-it restart command

Also add completion and completion tests
This commit is contained in:
Noah Gorny
2020-10-12 15:29:36 +03:00
parent 21d094ed5a
commit f4279e63c1
3 changed files with 28 additions and 8 deletions

View File

@@ -65,7 +65,7 @@ _bash-it-comp()
prev="${COMP_WORDS[COMP_CWORD-1]}"
chose_opt="${COMP_WORDS[1]}"
file_type="${COMP_WORDS[2]}"
opts="disable enable help migrate reload doctor search show update version"
opts="disable enable help migrate reload restart doctor search show update version"
case "${chose_opt}" in
show)
local show_args="aliases completions plugins"