diff options
| author | Jeff Carr <[email protected]> | 2025-10-12 00:11:00 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-12 00:11:00 -0500 |
| commit | 2d5370c9a6dd8ab566ec2943e20738b31a7a6606 (patch) | |
| tree | c714dafa13c6763ded14638cee98cf33b79786c7 /smartcd.test | |
| parent | 7144347aa7dc1e53bb5df051a2c5c3eaacbb34c6 (diff) | |
restructure code
Diffstat (limited to 'smartcd.test')
| -rw-r--r-- | smartcd.test | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/smartcd.test b/smartcd.test deleted file mode 100644 index d476814..0000000 --- a/smartcd.test +++ /dev/null @@ -1,20 +0,0 @@ -# could work like 'z' ? - -_cd_complete() -{ - # sets local to this func vars - local cur prev all - cur=${COMP_WORDS[COMP_CWORD]} - # prev=${COMP_WORDS[COMP_CWORD-1]} - all=${COMP_WORDS[@]} - - # this is where we generate the go-arg output - GOARGS=$(smartcd --auto-complete \'$cur\' $all) - - # this compares the command line input from the user - # to whatever strings we output - COMPREPLY=( $(compgen -W "$GOARGS" -- $cur) ) # THIS WORKS - return 0 -} -complete -F _cd_complete cd - |
