diff --git a/share/config.fish b/share/config.fish index c5268fa6b..6934b74ea 100644 --- a/share/config.fish +++ b/share/config.fish @@ -181,7 +181,8 @@ if status --is-login if [ -f $path_file ] while read -l entry if not contains -- $entry $result - set -a result $entry + test -n "$entry" + and set -a result $entry end end <$path_file end