Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

When I use reverse history search, then it "eats" a part of my prompt. Sometimes when I type a long command which spans to multi lines, my prompt is also lost.

Have anyone experience this situation? It is very annoying. I have attached the screenshot.

Thanks.

share|improve this question
1  
I don't see a screenshot. –  bahamat Jul 27 '12 at 23:30
3  
Please don't post a screenshot, but a copy-paste of a few lines from the terminal, using code formatting (press Ctrl+K or use the code button). Also post the content of your .zshrc and the output of echo $TERM. –  Gilles Jul 27 '12 at 23:32
add comment

1 Answer

This is usually due to non-space using items actually counting as space (e.g. formatting escape sequences like color etc.). These should be wrapped in %{ ... %} pairs.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.