From e250678396ebd2c8abf265655d70cb934e96a75b Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sun, 10 Mar 2024 08:25:49 +0300 Subject: [PATCH] Su : Add complete for voronind and dasha. --- module/common/bash/module/Su.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/module/common/bash/module/Su.sh b/module/common/bash/module/Su.sh index 108ca606..db2eb788 100644 --- a/module/common/bash/module/Su.sh +++ b/module/common/bash/module/Su.sh @@ -4,3 +4,8 @@ function s() { su - "${@}" } + +function _complete_s() { + _autocomplete "voronind" "dasha" +} +complete -F _complete_s s