Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Silly errors repeated from time to time

by hossman (Prior)
on Oct 14, 2002 at 21:34 UTC ( #205228=note: print w/replies, xml ) Need Help??


in reply to Silly errors repeated from time to time

I've gotten in the habit of running the following whenever I log into an account that isn't mine, or sit down at someone elses terminal to help them with something...

some silly prompt#>tcsh some slightly different prompt>source ~hossman/.cshrc username@host:path>

The last prompt is because of htis line in my .cshrc file...

set prompt = "%m:%~%# " if (`whoami` != "hossman" ) then set prompt "%n@%m:%~%# " endif

why do i do this you ask?

  • I allways know exactly what my PATH, and all of my other environment settings are (they're what I'm allways used to)
  • I allways know exactly what directory I'm in (in the prompt)
  • I allways know exactly who I am (if i'm not me, it says so in my prompt)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://205228]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2022-12-08 08:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?