summaryrefslogtreecommitdiff
path: root/bash.go
diff options
context:
space:
mode:
Diffstat (limited to 'bash.go')
-rw-r--r--bash.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/bash.go b/bash.go
index 2602513..0cef75c 100644
--- a/bash.go
+++ b/bash.go
@@ -9,6 +9,16 @@ import (
"strings"
)
+// deprecate this
+func Bash3(dest any) *Auto {
+ return Autocomplete(dest)
+}
+
+// deprecate this
+func Bash(dest any) *Auto {
+ return Autocomplete(dest)
+}
+
func makeCompletionText(argname string) string {
sh := getParentProcessName()
return fmt.Sprintf("# shell might be %s", sh)