The current implementation of PATH expansion leaves a trailing space which gets escaped and thus becomes part of the actual value added to the shell's path. E.g. attempts to add foo to the path end up adding foo.
Hopefully we can just strip this away; feels like a naive attempt to leave a space "open" for future parts of a built string.
The current implementation of PATH expansion leaves a trailing space which gets escaped and thus becomes part of the actual value added to the shell's path. E.g. attempts to add
footo the path end up addingfoo.Hopefully we can just strip this away; feels like a naive attempt to leave a space "open" for future parts of a built string.