Click to See Complete Forum and Search --> : zsh prompt splits when globbing


fatTrav
12-16-2004, 11:50 PM
My zsh prompt has been doing this annoying splitting of commands for awhile.

If I say "cat ." and hit <tab> until it globs a .Whatever file, which is what I woudl want, the prompt splits into this
travis@grendel 9:45PM travis % cat .ICEauthority cat .

if I hit the up arrow to search back my history, sometimes stuff like the below will happen
travis@grendel 9:48PM travis % cat Test.java | wc -l ./echo.sh

All I did was hit the UP arrow and it eventually went back to the ./echo.sh command but left the cat Test.java | wc -l on the screen too. However if I were to run the command it would disregard the stuff right after the prompt and only care about the stuff after the big gap.

Anyone have an idea what is going on?

my Dotzshrc file is here: http://www.indexoutofbounds.com/files/zshrc.tm

fatTrav
12-18-2004, 01:46 AM
In case someone ever has this problem, which is doubtful, the solution was I forgot to put all my color defs inside a percent/curly pair -> %{stuff-goes-here%}

man zshmisc should come up with the actual reasoning why this happened.