diff options
| author | Jeff Carr <[email protected]> | 2025-10-12 04:51:04 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-12 04:51:04 -0500 |
| commit | 49f9535f1cd17f1c30b62464555b057d3daa3c66 (patch) | |
| tree | 3fbbde6f08fcdc2137068ba2e182c0a2fbe43a1d | |
| parent | a4758595aa43b031174043d6115a26f2cd4c962d (diff) | |
notesv0.1.35
| -rw-r--r-- | smartcd.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/smartcd.test b/smartcd.test index d476814..517ffe8 100644 --- a/smartcd.test +++ b/smartcd.test @@ -1,4 +1,10 @@ # could work like 'z' ? +# + // "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. _cd_complete() { |
