mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
a step to remove __fish_sgrep per issue #2450
This commit is contained in:
parent
ae03df4bc4
commit
a381d959f2
1 changed files with 1 additions and 2 deletions
|
@ -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'
|
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 | \
|
set -l version_comparator (commandline -t | string match -r '^[\'"]*[<>]\?=\?' | \
|
||||||
__fish_sgrep -o '^[\'"]*[<>]\?=\?' | \
|
|
||||||
sed -r 's/^[\'"]*(.*)/\1/g')
|
sed -r 's/^[\'"]*(.*)/\1/g')
|
||||||
set -l sedstring
|
set -l sedstring
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue