fish: handle spaces in path variables
This commit is contained in:
parent
0098feea82
commit
b62b633b6b
@ -10,7 +10,7 @@ function fish_vars
|
||||
for variable in $_special_variables
|
||||
if set -q $variable
|
||||
if contains -- $variable $_path_variables
|
||||
set -l paths (string collect (string split " " $$variable))
|
||||
set -l paths $$variable
|
||||
printf $_table_format $variable "- $paths[1]"
|
||||
for path in $paths[2..-1]
|
||||
printf $_table_format "" "- $path"
|
||||
|
Loading…
x
Reference in New Issue
Block a user