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

Strange prompting in new 3.1.5



Hi!

I installed the new Version 3.1.5 and since then my
(unchanged) 'prompt' always showed '~PWD' where '%~'
is expanded. (I have PROMPTSUBST on because of a variable
'$SML' in the prompt, and the prompt is:

	%U(%BSt%b%U${SML})@%M:[%h](%u%B^:%~%b%U)>%u

I found out I can 'fix' this Problem by
putting 'unhash -d -m PWD' into 'precmd-function,
(I use '-m' to get no error if PWD is not yet set).

Is the new behaviour 'correct', or did somebody
reorganize something 'too correct to work with'
(like the search for Named-Dirs now including PWD)
Maybe it's a feature? (or my misconception :-)

Stucki

-- 
Christoph von Stuckrad       * *  | talk to  | <stucki@xxxxxxxxxxxxxxxxx> \
Freie Universitaet Berlin    |/_* | nickname | Tel(days):+49 30 838-75 459 |
Fachbereich Mathematik, EDV  |\ * | 'stucki' | Tel(else):+49 30 77 39 6600 |
Arnimallee 2-6/14195 Berlin  * *  |  on IRC  | Fax(allw):+49 30 838-75454 /



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