mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +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.
|
||||
while read -l 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
|
||||
# Verified compatible with bsd awk and gnu awk
|
||||
|
|
Loading…
Reference in a new issue