summaryrefslogtreecommitdiffstats
path: root/etc/root
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-12-05 13:56:39 +0000
committereadler <eadler@FreeBSD.org>2012-12-05 13:56:39 +0000
commit6dd12d609dc178d716b9e83a28132edaefc99c45 (patch)
treeb05f6bbc95a6d97d9a60d63fcc670ef770399752 /etc/root
parente955c7ba8bdbada4af6f9b5f789baac802844ebf (diff)
downloadFreeBSD-src-6dd12d609dc178d716b9e83a28132edaefc99c45.zip
FreeBSD-src-6dd12d609dc178d716b9e83a28132edaefc99c45.tar.gz
Remove hack to emulate effective uid and just use the EUID's name in the
first place. I was unaware of this option when originally committing this change. Submitted by: gcooper Approved by: cperciva MFC after: 3 days
Diffstat (limited to 'etc/root')
-rw-r--r--etc/root/dot.cshrc5
1 files changed, 1 insertions, 4 deletions
diff --git a/etc/root/dot.cshrc b/etc/root/dot.cshrc
index 5ce3e36..3e94371 100644
--- a/etc/root/dot.cshrc
+++ b/etc/root/dot.cshrc
@@ -23,10 +23,7 @@ setenv BLOCKSIZE K
if ($?prompt) then
# An interactive shell -- set some stuff up
- if ($uid == 0) then
- set user = root
- endif
- set prompt = "%n@%m:%~ %# "
+ set prompt = "%N@%m:%~ %# "
set promptchars = "%#"
set filec
OpenPOWER on IntegriCloud