This repository was archived by the owner on Dec 6, 2025. It is now read-only.

Description
Please verify the following:
Xshe Version
0.5.1
Current Behavior
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'
Which operating systems are affected?
Which shells does this affect?
Anything else?
No response