Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

not running precmd - was: Re: PS1='%?'



while experimenting with displaying the previous command's return status as part of my prompt, i came across a test case that didn't work and made no sense at first:
	return n>0

after some experimenting, i found that after running 'return', precmd is not executed. that kind of makes sense, but it still seems kind of buggy. should i think of this as a bug or an edge case that's a little over the edge?


--
        ...atom

 ________________________
 http://atom.smasher.org/
 762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
 -------------------------------------------------

	"99 Decision Street, 99 ministers meet
	 To worry, worry, super-scurry
	 Call the troops out in a hurry
	 This is what we've waited for
	 This is it boys, this is war
	 The president is on the line
	 As 99 red balloons go by."
		-- Nena




Messages sorted by: Reverse Date, Date, Thread, Author