You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 6, 2025. It is now read-only.
Passing arrays in fish shell with xshe defaults to treating them as a path series due to the automatic addition of the --path argument.
Expected Behavior
The shell script should be able to differentiate between an array intended as a series of paths and a regular array. Users should be able to pass a regular array without the script automatically considering it as a path series.
Steps To Reproduce
Use xshe to set an environment variable as an array in the fish shell.
Observe that the array is treated as a path series rather than a simple array.
❯ echo "XDG_DATA_DIRS = ['element_1', 'element_2']" | xshe --pipe fish
set -gx --path XDG_DATA_DIRS 'element_1':'element_1'