mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-14 08:58:01 +00:00
Add completions for push
subcommand to git stash
This commit is contained in:
parent
63e840995e
commit
9384801e3c
1 changed files with 5 additions and 0 deletions
|
@ -1587,6 +1587,7 @@ complete -f -c git -n '__fish_git_using_command stash; and __fish_git_stash_not_
|
|||
complete -f -c git -n '__fish_git_using_command stash; and __fish_git_stash_not_using_subcommand' -a create -d 'Create a stash'
|
||||
complete -f -c git -n '__fish_git_using_command stash; and __fish_git_stash_not_using_subcommand' -a save -d 'Save a new stash'
|
||||
complete -f -c git -n '__fish_git_using_command stash; and __fish_git_stash_not_using_subcommand' -a branch -d 'Create a new branch from a stash'
|
||||
complete -f -c git -n '__fish_git_using_command stash; and __fish_git_stash_not_using_subcommand' -a push -d 'Create a new stash with given files'
|
||||
|
||||
complete -f -c git -n '__fish_git_stash_using_command apply' -a '(__fish_git_complete_stashes)'
|
||||
complete -f -c git -n '__fish_git_stash_using_command branch' -a '(__fish_git_complete_stashes)'
|
||||
|
@ -1594,6 +1595,10 @@ complete -f -c git -n '__fish_git_stash_using_command drop' -a '(__fish_git_comp
|
|||
complete -f -c git -n '__fish_git_stash_using_command pop' -a '(__fish_git_complete_stashes)'
|
||||
complete -f -c git -n '__fish_git_stash_using_command show' -a '(__fish_git_complete_stashes)'
|
||||
|
||||
complete -f -c git -n '__fish_git_stash_using_command push' -a '(__fish_git_files modified deleted)'
|
||||
complete -f -c git -n '__fish_git_stash_using_command push' -s p -l patch -d 'Interactively select hunks'
|
||||
complete -f -c git -n '__fish_git_stash_using_command push' -s m -l message -d 'Add a description'
|
||||
|
||||
### config
|
||||
complete -f -c git -n '__fish_git_needs_command' -a config -d 'Set and read git configuration variables'
|
||||
# TODO options
|
||||
|
|
Loading…
Reference in a new issue