7_Days_to_Die/Scripts/7D2D-Manage-Completion.bash

12 lines
255 B
Bash
Raw Permalink Normal View History

#!/bin/bash
2022-01-01 02:32:01 -06:00
_7D2D_manage_completions() {
if [ "${#COMP_WORDS[@]}" != "2" ]; then
return
fi
COMPREPLY=($(compgen -W "backup install kill list start update view" "${COMP_WORDS[1]}"))
}
complete -F _7D2D_manage_completions 7D2D-Manage