Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 (Tek) 9/26/83; site teklabs.UUCP Path: utzoo!linus!decvax!microsoft!uw-beaver!tektronix!tekchips!teklabs!terryl From: terryl@teklabs.UUCP (Terry Laskodi) Newsgroups: net.unix-wizards Subject: Re: CSH script help needed Message-ID: <2711@teklabs.UUCP> Date: Sun, 8-Jan-84 04:03:18 EST Article-I.D.: teklabs.2711 Posted: Sun Jan 8 04:03:18 1984 Date-Received: Sun, 8-Jan-84 21:36:11 EST References: <15094@sri-arpa.UUCP>, <145@csd1.UUCP> Organization: Tektronix, Beaverton OR Lines: 10 Well, if you're using a 4.1-based CSH (or later), then there's a really easy way to do it just with aliases!!! No C-shell scripts needed!!! alias cd 'cd \!*;set prompt="$cwd"' alias pushd 'pushd \!*;set prompt="$cwd"' alias popd 'popd;set prompt="$cwd"' Quotes must be used exactly as above, but any other strings can be put in the set prompt string.