kakship icon indicating copy to clipboard operation
kakship copied to clipboard

echo -n is not portable

Open jdugan6240 opened this issue 11 months ago • 0 comments

Currently, the default starship.toml for kakship uses echo -n for certain modules. This is not posix compliant (it's actually a bash extension) and therefore not portable, and on MacOS for instance, this does not work since /bin/sh is not bash. /bin/echo -n solves this issue on MacOS at least, but that's also a bad idea. printf should be used instead to ensure the default config works everywhere.

jdugan6240 avatar Jan 02 '25 05:01 jdugan6240