aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/make.fish
diff options
context:
space:
mode:
authorGravatar Fabian Homborg <FHomborg@gmail.com>2015-09-09 20:55:04 +0200
committerGravatar Fabian Homborg <FHomborg@gmail.com>2015-09-09 20:55:04 +0200
commitb85a8bbbfed56f603dca5d6da85858f9c973b669 (patch)
treeaaca0722b25cff9d5e2ea5b46ad6e7dc59d9ec6d /share/completions/make.fish
parent925f4517739ed564edcac6dd5ed29c2835461da9 (diff)
Rename sgrep to __fish_sgrep
Makes it harder to cause issues with aliases, see fish-shell#2245
Diffstat (limited to 'share/completions/make.fish')
-rw-r--r--share/completions/make.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/completions/make.fish b/share/completions/make.fish
index dfe5090a..72f88c92 100644
--- a/share/completions/make.fish
+++ b/share/completions/make.fish
@@ -5,7 +5,7 @@
# filename completion. Unfortunatly, this turns out to be a bit
# complicated to do.
-set -l is_assignment "commandline -ct|sgrep '..*='"
+set -l is_assignment "commandline -ct| __fish_sgrep '..*='"
set -l complete_file_assignment '(commandline -ct|sed -e \'s/=.*/=/\')(complete --do-complete=this_command_does_not_exist\ (commandline -ct|sed -e \'s/.*=//\'))'
complete -c make --condition $is_assignment -a $complete_file_assignment