1
0
Fork 0
mirror of synced 2024-11-18 23:25:35 -05:00
Commit graph

6 commits

Author SHA1 Message Date
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