mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 15:14:44 +00:00
completions/git: Don't leak submodule subcommands
Introduced in f5711ad5ed
through an unclean edit.
This commit is contained in:
parent
bd871c5372
commit
3548aae552
1 changed files with 2 additions and 1 deletions
|
@ -2009,7 +2009,8 @@ complete -f -c git -n '__fish_git_using_command format-patch' -l no-numbered -s
|
|||
|
||||
## git submodule
|
||||
set -l submodulecommands add status init deinit update set-branch set-url summary foreach sync absorbgitdirs
|
||||
complete -f -c git -n __fish_git_needs_command -a "submodule\t'Initialize, update or inspect submodules'
|
||||
complete -f -c git -n __fish_git_needs_command -a "submodule\t'Initialize, update or inspect submodules'"
|
||||
complete -f -c git -n "__fish_git_using_command submodule" -n "not __fish_seen_subcommand_from $submodulecommands" -a "
|
||||
status\t'Show submodule status'
|
||||
init\t'Initialize all submodules'
|
||||
deinit\t'Unregister the given submodules'
|
||||
|
|
Loading…
Reference in a new issue