mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 15:14:44 +00:00
share/config: Don't split /etc/paths entries on spaces
This used `read -la`, which _splits_. Instead, don't do that, each line is its own entry. Fixes #5481. [ci skip]
This commit is contained in:
parent
eabda835d5
commit
04f1ea0680
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ if command -sq /usr/libexec/path_helper
|
|||
|
||||
for path_file in $argv[2] $argv[3]/*
|
||||
if test -f $path_file
|
||||
while read -la entry
|
||||
while read -l entry
|
||||
if not contains $entry $result
|
||||
set result $result $entry
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue