From: haahr@adobe.com
To: rc mailing list <rc@archone.tamu.edu>
Subject: root prompt (was: early reaction(s) to rc)
Date: Fri, 23 Aug 1991 13:59:31 -0500 [thread overview]
Message-ID: <9108231859.AA04305@utopia.adobe.com> (raw)
Arnold Robbins writes:
> Byron has told me in private mail he doesn't think the shell should
> automatically change prompts for root. I disagree, but not terribly
> strongly. My own suggestion for a root prompt would be ';; '.
a simple work-around, which does not require hard-coding anything in the
shell is
fn su { prompt=('!; ' '') /bin/su $* }
for logging in as root, just set the prompt in .rcrc.
note that i use !; as my root prompt. (! is almost a no-op: status gets set
wrong, but that's a minor inconvenience.)
paul haahr adobe systems incorporated
haahr@adobe.com ...!decwrl!adobe!haahr +1 415 962 6056
reply other threads:[~1991-08-24 6:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9108231859.AA04305@utopia.adobe.com \
--to=haahr@adobe.com \
--cc=rc@archone.tamu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).