You are not logged in.

#1 2012-05-20 23:25:14

frostyfrog
Member
From: Utah, USA
Registered: 2011-03-27
Posts: 42

need PS1 help for zsh

So I Found this really cool PS1 that I was wanting to use, but it was for bash and not zsh (my new favorite shell). link: http://crunchbanglinux.org/forums/post/127739/#p127739
I was able to convert it using bash2zshprompt but I'm currently getting the error below when everything looks all fine and dandy. sad
my current script: http://pastebin.archlinux.fr/447448

/mnt/atlanta/zsh/test.result:26: bad math expression: operand expected at `%{^[[00m%}%...'
\[\e[1;34m\]Frostyfrog\[\e[0;31m\]\w\[\e[0;32m\]\$\[\e[0m\] exit

Thanks for your assistance in helping me figure this out big_smile


{arch32} {subtlewm}{Acer Aspire One AO532h}
{arch64} {Headless Server}
Grrr! 400 char limit sad

Offline

#2 2012-05-25 06:58:47

debdj
Member
Registered: 2012-01-19
Posts: 163

Re: need PS1 help for zsh

try quoting the prompt string with single quotes.

Offline

Board footer

Powered by FluxBB