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
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?
macOS
Windows
Linux
Which shells does this affect?
Bash
Zsh
Fish
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Please verify the following:
Xshe Version
0.5.1
Current Behavior
Passing arrays in
fish
shell withxshe
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
xshe
to set an environment variable as an array in thefish
shell.Which operating systems are affected?
Which shells does this affect?
Anything else?
No response
The text was updated successfully, but these errors were encountered: