1
0
Fork 0
mirror of synced 2024-12-22 22:48:57 -05:00
Commit graph

11 commits

Author SHA1 Message Date
Tim Byrne
f163130609
Remove trailing whitespace 2022-07-08 08:12:08 -05:00
Joshua Cold
2cc64a2fa0
remove extra lines 2022-07-08 08:09:38 -05:00
Joshua Cold
2989734359
Add back in the descriptions 2022-07-08 08:09:33 -05:00
Joshua Cold
7573e18a89
Fix duplicates from completion 2022-07-08 08:09:27 -05:00
Joshua Cold
beb83077d8
Fix zsh hanging when tab completing add/checkout 2022-07-08 08:08:58 -05:00
Erik Flodin
fb56513d17
zsh: complete all supported git clone parameters for yadm clone 2021-01-08 22:21:27 +01:00
Erik Flodin
57eed9742a
Rework zsh completion fallback
Don't rely on internals from the git completion. Instead set up the
environment and then simply call _git and let it do the completion as
it see fit.

See #292.
2021-01-06 20:36:07 +01:00
Erik Flodin
d6f623c546
Support fallback to git completion from git
Fixes #292
2021-01-05 00:25:24 +01:00
Erik Flodin
0500f6c6f6
zsh: -d can't be used as a global option
It's only supported as a command option and the command will fail if
-d is used as a global option. Instead of completing it in the wrong
place, don't complete it at all as it can be considered an "internal"
switch (it's not mentioned in the manual).
2020-12-29 21:30:00 +01:00
Tim Byrne
53e3288234
Reorganize shell completion code 2020-12-28 12:05:39 -06:00
Erik Flodin
900d59707a
Add _yadm symlink to ease zsh completion usage from source
It is now possible to use the completion simply by doing:
fpath=(/path/to/yadm/completion/zsh $fpath); compinit
2020-12-28 15:39:39 +01:00