From 728dd2566501fff648cb6850ef1f79609ce2d9c5 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Mon, 8 Oct 2018 15:43:45 +0200 Subject: [PATCH] [completions/git] Add rebase --exec Fixes #5236. --- share/completions/git.fish | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/completions/git.fish b/share/completions/git.fish index 40aae5fa7..413e4b2fe 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -1241,6 +1241,8 @@ complete -f -c git -n '__fish_git_using_command rebase' -l root -d 'Rebase all r complete -f -c git -n '__fish_git_using_command rebase' -l autosquash -d 'Automatic squashing' complete -f -c git -n '__fish_git_using_command rebase' -l no-autosquash -d 'No automatic squashing' complete -f -c git -n '__fish_git_using_command rebase' -l no-ff -d 'No fast-forward' +# This actually takes script for $SHELL, but completing that is... complicated. +complete -r -c git -n '__fish_git_using_command rebase' -l exec -d 'Execute shellscript' ### reset complete -c git -n '__fish_git_needs_command' -a reset -d 'Reset current HEAD to the specified state'