diff options
| author | Jeff Carr <[email protected]> | 2025-10-16 13:32:12 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-16 13:32:12 -0500 |
| commit | 2006b968539824fdb3177bd78f530de45fb9283f (patch) | |
| tree | a0a7801cfe3544f3f6efab0a38526dcb9675872e /main.go | |
| parent | 0f61a5c9aa790b73662ea629c955f47a23c878f1 (diff) | |
fix name. better home
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -8,7 +8,7 @@ import ( "os" "unicode" - "go.wit.com/lib/gui/prep" + "go.wit.com/lib/protobuf/argvpb" "go.wit.com/lib/protobuf/filepb" "go.wit.com/log" ) @@ -26,8 +26,8 @@ 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.Autocomplete(&argv) // adds shell auto complete to go-args - me.homedir, _ = os.UserHomeDir() // store shortcut here todo: add better logic + me.sh = argvpb.Autocomplete(&argv) // adds shell auto complete to go-args + me.homedir, _ = os.UserHomeDir() // store shortcut here todo: add better logic if me.sh.Cmd == "" { // user didn't enter a sub command |
