diff options
| author | Jeff Carr <[email protected]> | 2025-10-12 04:51:16 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-12 04:51:16 -0500 |
| commit | a4e6b6bf814335ba972a975317381c9585015d5b (patch) | |
| tree | a8b09387d05ea5100dec96247c2caebe20aa828e /parseArgv.go | |
| parent | 890782893d553cb6dfdb42368b75fa9e8e893ff5 (diff) | |
minorv0.0.32
Diffstat (limited to 'parseArgv.go')
| -rw-r--r-- | parseArgv.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/parseArgv.go b/parseArgv.go index 1fdaf5f..a1cd20e 100644 --- a/parseArgv.go +++ b/parseArgv.go @@ -29,11 +29,6 @@ func parseArgv(argname string) *Auto { } } - // "complete -C /usr/bin/argv forge" bash ENV values: - // * `COMP_LINE`: A string containing the entire current command line (forge first second third forth ). This is what you are looking for. - // * `COMP_POINT`: A number indicating the cursor's position (index) within the COMP_LINE. - // * `COMP_WORDS`: An array in Bash (seen differently by Go) containing each individual word on the command line. - // * `COMP_CWORD`: A number indicating the index of the word the cursor is currently on within the COMP_WORDS array. if len(os.Args) > 1 && os.Args[1] == pb.Argname { pb.IsAuto = true parts := strings.Split(os.Getenv("COMP_LINE"), " ") |
