aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/git.fish
diff options
context:
space:
mode:
authorGravatar Patrick Browne <pt.browne@gmail.com>2013-05-24 15:09:57 +0200
committerGravatar Patrick Browne <pt.browne@gmail.com>2013-05-24 15:09:57 +0200
commit2997ce2e3ce516d89356beb3f824051162846273 (patch)
tree633f5e3751b2307b0118949c7c03e1724262619c /share/completions/git.fish
parentb8028c1b1d3137a52edf842531819a5e597d7817 (diff)
quote command for it to be ran every time
Diffstat (limited to 'share/completions/git.fish')
-rw-r--r--share/completions/git.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/completions/git.fish b/share/completions/git.fish
index e349e1e2..c7c7bb16 100644
--- a/share/completions/git.fish
+++ b/share/completions/git.fish
@@ -97,7 +97,7 @@ complete -f -c git -n '__fish_git_using_command show-branch' -a '(__fish_git_hea
### add
complete -c git -n '__fish_git_needs_command' -a add -d 'Add file contents to the index'
-complete -f -c git -n '__fish_git_using_command add; and __fish_contains_opt -s p patch' -a (__fish_git_modified_files)
+complete -f -c git -n '__fish_git_using_command add; and __fish_contains_opt -s p patch' -a '(__fish_git_modified_files)'
complete -f -c git -n '__fish_git_using_command add' -s p -d 'Interactively add hunks to staging area'
complete -f -c git -n '__fish_git_using_command add' -s u -d 'Update already tracked files'
# TODO options