From a811d3b7de2436211d275de79dcb6890cf455296 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 25 Dec 2021 21:23:03 -0600 Subject: [PATCH] Added basic completions for top level options --- CentOS/7-Days-To-Die/7D2D-Manage-Completion.bash | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 CentOS/7-Days-To-Die/7D2D-Manage-Completion.bash diff --git a/CentOS/7-Days-To-Die/7D2D-Manage-Completion.bash b/CentOS/7-Days-To-Die/7D2D-Manage-Completion.bash new file mode 100644 index 0000000..1c8a9c1 --- /dev/null +++ b/CentOS/7-Days-To-Die/7D2D-Manage-Completion.bash @@ -0,0 +1,9 @@ +#!/bin/bash + +_7D2D_manage_completions() +{ + COMPREPLY=($(compgen -W "backup install kill list start update" "${COMP_WORDS[1]}")) +} + +complete -F _7D2D_manage_completions 7D2D-Manage +