Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site ritcv.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!rochester!ritcv!ref0070 From: ref0070@ritcv.UUCP (Bob Fortin) Newsgroups: net.unix,net.unix-wizards Subject: Re: Prompt showing current directory (just like DOS) Message-ID: <9144@ritcv.UUCP> Date: Tue, 10-Dec-85 09:49:54 EST Article-I.D.: ritcv.9144 Posted: Tue Dec 10 09:49:54 1985 Date-Received: Thu, 12-Dec-85 06:34:31 EST References: <159@pyuxv.UUCP> <525@busch.UUCP> Reply-To: ref0070@ritcv.UUCP (PUT YOUR NAME HERE) Organization: Rochester Institute of Technology, Rochester, NY Lines: 3 Keywords: ksh, $PS1 Xref: watmath net.unix:6602 net.unix-wizards:16067 Summary: Prompt showing current directory in Unix To have your prompt showing the current directory in C-shell use: alias cd `cd \!*; set prompt=$cwd:t`