summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index fcec3a3..c4f1b53 100644
--- a/main.go
+++ b/main.go
@@ -26,7 +26,7 @@ var resources embed.FS
func main() {
me = new(mainType)
// autocomplete must be processed before there is anything sent to STDOUT or STDERR
- me.sh = prep.Bash(&argv) // add support for bash autocomplete with go-arg
+ me.sh = prep.Autocomplete(&argv) // adds shell auto complete to go-args
me.homedir, _ = os.UserHomeDir() // store shortcut here todo: add better logic
if me.sh.Cmd == "" {