diff options
author | Fabian Homborg <FHomborg@gmail.com> | 2015-09-09 20:55:04 +0200 |
---|---|---|
committer | Fabian Homborg <FHomborg@gmail.com> | 2015-09-09 20:55:04 +0200 |
commit | b85a8bbbfed56f603dca5d6da85858f9c973b669 (patch) | |
tree | aaca0722b25cff9d5e2ea5b46ad6e7dc59d9ec6d /share/completions/perl.fish | |
parent | 925f4517739ed564edcac6dd5ed29c2835461da9 (diff) |
Rename sgrep to __fish_sgrep
Makes it harder to cause issues with aliases, see fish-shell#2245
Diffstat (limited to 'share/completions/perl.fish')
-rw-r--r-- | share/completions/perl.fish | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/completions/perl.fish b/share/completions/perl.fish index e7ee3f68..284dc4ef 100644 --- a/share/completions/perl.fish +++ b/share/completions/perl.fish @@ -1,6 +1,6 @@ begin - set -l unicode 'commandline | sgrep -qe "-[a-zA-Z]*C[a-zA-Z]*\$"' - set -l noopt 'commandline | not sgrep -qe "-[a-zA-Z]*C[a-zA-Z]*\$"' + set -l unicode 'commandline | __fish_sgrep -qe "-[a-zA-Z]*C[a-zA-Z]*\$"' + set -l noopt 'commandline | not __fish_sgrep -qe "-[a-zA-Z]*C[a-zA-Z]*\$"' set -l modules "(find (perl -lE'print for @INC') -name '*.pm' -printf '%P\n' ^/dev/null \ | awk '{ gsub(\"/\", \"::\") } /[^-.]/' RS='\\\\\\\\.pm'\n | sort | uniq)" complete -c perl -s 0 -n $noopt --description 'Specify record separator' @@ -18,7 +18,7 @@ begin complete -c perl -s CO -n $unicode --description 'STDOUT is UTF-8' complete -c perl -s CS -n $unicode --description 'STDOUT, STDIN, and STDERR are UTF-8' complete -c perl -s d -n $noopt --description 'Debugger' - complete -c perl -s dt -n 'commandline | sgrep -qe "d\$"' --description 'Debugger, with threads' + complete -c perl -s dt -n 'commandline | __fish_sgrep -qe "d\$"' --description 'Debugger, with threads' complete -c perl -s D -n $noopt -x --description 'Debug option' complete -c perl -s e -n $noopt -x --description 'Execute command' complete -c perl -s E -n $noopt -x --description 'Execute command, enable optional features' |