1
0
Fork 0
mirror of synced 2024-12-22 06:31:07 -05:00

fix: yadm config in fish completion

This commit is contained in:
heddxh 2024-07-16 17:25:44 +08:00 committed by GitHub
parent 0a5e7aa353
commit 16deac67b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -60,7 +60,7 @@ complete -x -c yadm -n '__fish_yadm_using_command introspect' -a (printf -- '%s\
complete -x -c yadm -n '__fish_yadm_needs_command' -a 'gitconfig' -d 'Pass options to the git config command' complete -x -c yadm -n '__fish_yadm_needs_command' -a 'gitconfig' -d 'Pass options to the git config command'
complete -x -c yadm -n '__fish_yadm_needs_command' -a 'config' -d 'Configure a setting' complete -x -c yadm -n '__fish_yadm_needs_command' -a 'config' -d 'Configure a setting'
for name in (yadm introspect configs) for name in (yadm introspect configs)
complete -x -c yadm -n '__fish_yadm_using_command config' -a '$name' -d 'yadm config' complete -x -c yadm -n '__fish_yadm_using_command config' -a $name -d 'yadm config'
end end
# yadm universial options # yadm universial options