a step to remove __fish_sgrep per issue #2450

This commit is contained in:
Kurtis Rader 2017-04-15 21:29:07 -07:00
parent ae03df4bc4
commit a381d959f2

View file

@ -30,8 +30,7 @@ end
function __fish_emerge_print_all_pkgs_with_version_compare --description 'Print completions for all packages including the version compare if that is already typed'
set -l version_comparator (commandline --current-token | \
__fish_sgrep -o '^[\'"]*[<>]\?=\?' | \
set -l version_comparator (commandline -t | string match -r '^[\'"]*[<>]\?=\?' | \
sed -r 's/^[\'"]*(.*)/\1/g')
set -l sedstring