You are not logged in.
Hey guys, I am having a weird problem with my ZSH PS1. Everytime I add some color to my PS1, I get this tab complete problem:
And my PS1:
export PS1="[${fg_cyan}%n${fg_blue}@${fg_brown}%M${fg_blue}] %c${fg_lcyan} $ ${fg_lgray}${at_normal}"
Anyone else having a similiar problem?
Last edited by nbyers (2010-01-04 07:43:19)
HP Mini 311 - Arch Linux i686
AMD Phenom II X4/4GB DDR3 1600/ATI 4870 1GB - Arch Linux x64
Offline
I think the method you're using is giving zsh trouble determining the prompt length. Could you try:
export PS1="[%F{cyan}%n%F{blue}@%F{yellow}%M%F{blue}] %c%F{cyan} $ %F{lgray}%f "
Offline
Thanks a ton, that fixed it
HP Mini 311 - Arch Linux i686
AMD Phenom II X4/4GB DDR3 1600/ATI 4870 1GB - Arch Linux x64
Offline