You are not logged in.

#1 2008-08-22 03:57:13

Pnevma
Member
Registered: 2008-04-11
Posts: 112

[Solved] Annoying Problem With ZSH

Ever since switching to ZSH, I've had this annoying problem related to spacing in terminals. It's hard to explain, so here are a few screen shots;

1). Too much text will result in the text/cursor going off screen and appearing in the wrong place.
2). Resizing the window to be a little bit wider will fix it.
3). Sometimes the text won't go off screen, but the cursor will act retarded - I'm actually at the beginning of the text in this screen shot, it won't go any further back.
4). Resizing the window fixes this as well.

I had this problem in Openbox and I recently switched back to Awesome and it's still happening, so it's not related to the WM. I'm using rxvt-unicode and haven't tested it with any other terminal.

I'd switch back to Bash, but there really is a noticeable speed increase.

Edit: I just tried it with Terminal and XTerm and the problem is still there.

Last edited by Pnevma (2008-08-22 06:03:05)

Offline

#2 2008-08-22 05:42:24

pseup
Member
Registered: 2008-06-06
Posts: 103

Re: [Solved] Annoying Problem With ZSH

Looks like a PS1 problem. From your configs linked in your sig:

export PS1="$(print '%{\e[0;34m%}[%*] \e[0;33m[%~]\e[0;31m :\e[0m ')"

Not sure if this is quite right, but should probably be something like:

export PS1="$(print '%{\e[0;34m%}[%*]%{\e[0;33m%}[%~]%{\e[0;31m%} :%{\e[0m%} ')"

Last edited by pseup (2008-08-22 05:45:54)

Offline

#3 2008-08-22 05:50:54

Pnevma
Member
Registered: 2008-04-11
Posts: 112

Re: [Solved] Annoying Problem With ZSH

Ah, yep... thanks, that was it. I actually made that PS1 by comparing my old bash one to the ZSH format. Figures.

Thanks again.

Offline

Board footer

Powered by FluxBB