A list in Fish is basically a string stored in an environment variable with a specified delimiter.
this post was submitted on 06 Nov 2025
3 points (80.0% liked)
General Programming Discussion
9265 readers
2 users here now
A general programming discussion community.
Rules:
- Be civil.
- Please start discussions that spark conversation
Other communities
Systems
Functional Programming
Also related
founded 6 years ago
MODERATORS
Alright, reading into it a bit more they are not just special strings. Somehow fish marks those variables as special list values. But as soon as you echo them they get concatenated with spaces.