David Mandelberg
60e0fbbf42
Fix completion after a command-line flag.
...
Before:
yadm checkout -f <TAB> # Completes filenames.
yadm checkout --yadm-dir <TAB> # Completes filenames.
After:
yadm checkout -f <TAB> # Completes branch names.
yadm checkout --yadm-dir <TAB> # Completes filenames.
2019-11-25 16:55:06 -06:00
Tim Byrne
8af5425dc3
Capitalize headings
2017-10-24 07:40:40 -05:00
Tim Byrne
f0886ef622
Merge pull request #79 from Mellbourn/zsh-completion
...
* Unified the naming between bash and zsh
* Cleaned up indentations, line endings
* Tweaked documentation
2017-08-24 18:35:17 -05:00
Klas Mellbourn
38318cff84
zsh completion - improve documentation
2017-08-11 20:09:27 +02:00
Klas Mellbourn
ded14fce73
add zsh completions
2017-08-11 19:50:25 +02:00
Tim Byrne
9d21376f88
Merge pull request #64 from Mellbourn/fix-negative-comp-words
...
Including tweaks to conditional statements
I think the original conditionals would always be false. That prevents
using completions which rely on identifying the penultimate and
antepenultimate portions of typed commandline.
2017-05-08 16:30:30 -05:00
Klas Mellbourn
708b491d88
fix for getting 'COMP_WORDS bad array subscript' on completing yadm
...
I stared getting these errors when pressing tab after 'yadm '. This seems to be due to COMP_CWORD being negative, so this is the fix I applied
2017-05-07 22:43:10 +02:00
Tim Byrne
356c47a19f
Add Bash completion script ( #60 )
...
* Add completion script
* Add introspection
2017-04-24 07:49:10 -05:00