From 5196354176807329dcb86b4b63733bd0a93af33b Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Wed, 18 Oct 2017 13:37:13 +0200 Subject: [PATCH] git completions: Allow files for `git rm` Fixes #4485. --- share/completions/git.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/git.fish b/share/completions/git.fish index 5a2a406fd..f351f5290 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -807,7 +807,7 @@ complete -f -c git -n '__fish_git_using_command revert' -a '(__fish_git_commits) ### rm complete -c git -n '__fish_git_needs_command' -a rm -d 'Remove files from the working tree and from the index' -complete -c git -n '__fish_git_using_command rm' -f +complete -c git -n '__fish_git_using_command rm' complete -c git -n '__fish_git_using_command rm' -l cached -d 'Keep local copies' complete -c git -n '__fish_git_using_command rm' -l ignore-unmatch -d 'Exit with a zero status even if no files matched' complete -c git -n '__fish_git_using_command rm' -s r -d 'Allow recursive removal'