I'm trying to setup a multiple line PS1, for zsh, but \n doesn't was parsed by zsh,
\n
PS1="%~\n %> "
How should I set it up?
PS1="firstline secondline "
or
PS1=$'Hi Joe,\nwhat now?%# '
Taken from FAQ, item 3.13
Like this (I know, looks awkward):
PS1="%~ %> "
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
By posting your answer, you agree to the privacy policy and terms of service.
tagged
asked
6 months ago
viewed
193 times
active