1
0
Fork 0
mirror of synced 2024-11-05 01:08:59 -05:00
Commit graph

16 commits

Author SHA1 Message Date
Tin Lai
ecdc985ab0
add manual entry for fish completions 2020-06-04 14:31:57 +10:00
Tin Lai
f5e8599de4
improve fish completion by adding more completion options 2020-06-03 18:02:04 +10:00
Tin Lai
f0a8f31d1b
implement fish autocomplete 2020-05-28 01:36:17 +10:00
Tim Byrne
5986cd7943
Merge pull request #136 from dseomn/bash-completion 2019-11-25 16:55:43 -06:00
David Mandelberg
bcf6531da6
Only add yadm commands to the completion list when applicable.
Before:
  yadm <TAB>  # Completes git and yadm commands.
  yadm -Y . <TAB>  # Completes yadm commands.
  yadm p<TAB> -u origin foo  # Completes yadm+git commands like p*.
  yadm push -u origin <TAB>  # Completes branch names and yadm commands.

After:
  yadm <TAB>  # Completes git and yadm commands.
  yadm -Y . <TAB>  # Completes yadm commands.
  yadm p<TAB> -u origin foo  # Completes yadm+git commands like p*.
  yadm push -u origin <TAB>  # Completes branch names.
2019-11-25 16:55:08 -06:00
David Mandelberg
5d9e0a7133
Mark GIT_DIR for export.
Before:
  yadm push <TAB>  # Completes filenames.

After:
  yadm push <TAB>  # Completes names of git remotes.
2019-11-25 16:55:07 -06:00
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
f3bde37f78
Support -b <branch> when cloning (#133) 2019-10-08 17:28:53 -05:00
Tim Byrne
48fc6b0db7
Support XDG base directory specification
https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
2019-09-27 08:40:31 -05: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