From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,55bdda513361063c X-Google-Attributes: gidfee84,public From: oberman@icaen.llnl.gov Subject: RE: System Prompt - Put Path in prompt Date: 1995/06/19 Message-ID: <3s46pj$9gt@lll-winken.llnl.gov>#1/1 X-Deja-AN: 104728539 references: <3rsqc3$h3p@nn.fast.net> organization: Lawrence Livermore National Laboratory newsgroups: comp.unix.osf.osf1 In Article <3rsqc3$h3p@nn.fast.net> Robert Cerniglia writes: >I'm trying to find somebody who can tell me where to find or how to >write a script that will display my Current working directory as my system >prompt. What shell are you using? If it's tcsh, it's directly supported with "set prompt=%\" or, for a friendlier and shorter presentation, "set prompt=%~". See the man pages of the shell you use for more information. And I have yet to talk to anyone who uses tcsh who wants to ge to any other shell. R. Kevin Oberman Energy Sciences Network (ESnet) National Energy Research Supercomputer Center (NERSC) Lawrence Livermore National Laboratory (LLNL) Internet: koberman@llnl.gov +1 510-422-6955