Fix for #2041 for fish by anka-213 · Pull Request #2775 · jetify-com/devbox
Summary
Fix for the fish part of #2041.
Piping the prompt through echo breaks things like newlines. Just use printf instead.
How was it tested?
Manually changing the prompt on my machine and seeing that it resolves the issue.
Community Contribution License
All community contributions in this pull request are licensed to the project
maintainers under the terms of the
Apache 2 License.
By creating this pull request, I represent that I have the right to license the
contributions to the project maintainers under the Apache 2 License as stated in
the
Community Contribution License.