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

Re: zsh prompt not updating until first 'chdir'



On Sat, 1 May 2004 17:52:06 +0000, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:

On May 1, 11:53am, Timothy J. Luoma wrote:
}
} chpwd () { setprompt }
}
} Can someone remind me what I have to do to get this to update as soon as I
} login?

I always just but a call to chpwd directly after the definition of chpwd in my startup files. There's no magical reason you can't call chpwd yourself.

Well that worked.  Should have thought of that myself.

TjL



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