From ac3dfb3f96b133c9d28758da134461a323e68a8d Mon Sep 17 00:00:00 2001 From: Grissiom Date: Sun, 19 Sep 2010 00:19:44 +0800 Subject: [PATCH] don't complete file names for git checkout --- share/completions/git.fish | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/completions/git.fish b/share/completions/git.fish index 007bc9e16..41e97a8c0 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -91,9 +91,9 @@ complete -c git -n '__fish_git_needs_command' -a add -d 'Add file contents to ### checkout complete -f -c git -n '__fish_git_needs_command' -a checkout -d 'Checkout and switch to a branch' -complete -c git -n '__fish_git_using_command checkout' -a '(__fish_git_branches)' --description 'Branch' -complete -c git -n '__fish_git_using_command checkout' -a '(__fish_git_tags)' --description 'Tag' -complete -c git -n '__fish_git_using_command checkout' -s b -d 'Create a new branch' +complete -f -c git -n '__fish_git_using_command checkout' -a '(__fish_git_branches)' --description 'Branch' +complete -f -c git -n '__fish_git_using_command checkout' -a '(__fish_git_tags)' --description 'Tag' +complete -f -c git -n '__fish_git_using_command checkout' -s b -d 'Create a new branch' # TODO options ### apply