From 04f1ea0680b0deef5a567fa9c507bdce39a2117b Mon Sep 17 00:00:00 2001
From: Fabian Homborg <FHomborg@gmail.com>
Date: Fri, 4 Jan 2019 14:48:01 +0100
Subject: [PATCH] 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]
---
 share/config.fish | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/config.fish b/share/config.fish
index 5c554b213..27e6222a3 100644
--- a/share/config.fish
+++ b/share/config.fish
@@ -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