Path: utzoo!utgpu!water!watmath!clyde!bellcore!faline!ulysses!allegra!mit-eddie!husc6!hao!boulder!sunybcs!bingvaxu!leah!emb978 From: emb978@leah.UUCP Newsgroups: comp.unix.wizards Subject: Re: How to have PS1 evaluated after each "cd" Summary: How to insert linefeed in prompt string? Message-ID: <560@leah.Albany.Edu> Date: 11 Jan 88 22:55:21 GMT References: <551@leah.Albany.Edu> <4070008@hpiacla.HP.COM> Organization: The University at Albany, Computer Services Center Lines: 12 Posted: Mon Jan 11 17:55:21 1988 In article <4070008@hpiacla.HP.COM>, marki@hpiacla.HP.COM (Mark Ikemoto) writes: > I alias cd to a set of commands that sets up my show-current-directory > characters that manipulate the cursor to display a two-line prompt. > So when I cd anywhere, I get a blank line followed by the current I tried something along the lines of set prompt="\! $cwd>\n" but I got the \n as part of the prompt. How does one insert the linefeed? Eric M. Boehm EMB978@LEAH.ALBANY.EDU EMB978@ALBNY1VX.BITNET