mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +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'
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue