summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/skel/dot.cshrc8
1 files changed, 6 insertions, 2 deletions
diff --git a/share/skel/dot.cshrc b/share/skel/dot.cshrc
index d1e8a36ee1e..fb290ccb6c8 100644
--- a/share/skel/dot.cshrc
+++ b/share/skel/dot.cshrc
@@ -22,6 +22,10 @@ if ($?prompt) then
set ignoreeof
set mail = (/var/mail/$USER)
set mch = `hostname -s`
- set prompt = "$mch:q:$cwd:t {\!} "
- umask 2
+ alias prompt 'set prompt = "$mch:q"":$cwd:t {\!} "'
+ alias cd 'cd \!*; prompt'
+ alias popd 'popd \!*; prompt'
+ alias pushd 'pushd \!*; prompt'
+ cd .
+ umask 22
endif