Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I was confused about how the command substitution worked, in terms of parsing output. With bash and other shells, it'll split on whitespace, but in fish it only splits on newlines. As documented, use `string split -n " "` instead. >Unlike other shells, fish does not split command substitutions on any whitespace (like spaces or tabs), only newlines. This can be an issue with commands like pkg-config that print what is meant to be multiple arguments on a single line. To split it on spaces too, use string split. https://fishshell.com/docs/current/tutorial.html#command-substitutions Signed-off-by: Daniel Mikusa <[email protected]>
- Loading branch information