Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

\n and \c not interpreted in sh scripts #33

Closed
dduponchel opened this issue Dec 18, 2009 · 1 comment
Closed

\n and \c not interpreted in sh scripts #33

dduponchel opened this issue Dec 18, 2009 · 1 comment

Comments

@dduponchel
Copy link

Some sh scripts (upgrade.sh or check_for_upgrade.sh for example) use \n or \c in echoed strings, with a broken output (display the \n instead of a new line, at least on my gentoo and on my archlinux) :

   "Hooray! Oh My Zsh has been updated and/or is at the current version. \nAny new updates will be reflected when you start your next terminal session."

Using echo -e instead on echo in .sh scripts should solve this issue :)

@robbyrussell
Copy link
Member

Thanks, we'll look at rewriting some of this in the near future.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants