7

Zsh: Help Setting Prompt, Please

view full story
linux-howto

http://www.linuxquestions.org – Hi. I've always used bash, but I'm giving zsh a try because I've heard it has some nifty features. However, I'm having trouble converting my bash prompt into proper syntax for the .zshrc. Here is the code in my .bashrc: Code: export PS1="\[\033[01;36m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] " Following online documentation, I figured how to convert most of that over, so that all the right content displays. However, I can't get the color escape codes to convert over. They always just display literally. I tried something like this: (just for the first part) Code: export PROMPT="%{\e[01;36m%}%n@%m%{\e[0m%}" But still no color, just the text above. (HowTos)