mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +00:00
Fix missing -- filter in string replace
call
This commit is contained in:
parent
114856e1d9
commit
9045b251b0
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ function __fish_concat_completions -d "Generate completions that are specified a
|
||||||
# `read` call in between () to capture the output because that breaks its connection to stdin.
|
# `read` call in between () to capture the output because that breaks its connection to stdin.
|
||||||
while read -l line;
|
while read -l line;
|
||||||
echo $line;
|
echo $line;
|
||||||
end | string match -er '.' | string match -rv -- $filter | string replace -r '^' -- (string replace -rf '^(.+),.*$' '$1,' $token; or echo "")
|
end | string match -er '.' | string match -rv -- $filter | string replace -r '^' -- (string replace -rf -- '^(.+),.*$' '$1,' $token; or echo "")
|
||||||
|
|
||||||
return
|
return
|
||||||
# Verified compatible with bsd awk and gnu awk
|
# Verified compatible with bsd awk and gnu awk
|
||||||
|
|
Loading…
Reference in a new issue