summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTavis Ormandy <taviso@gentoo.org>2003-06-13 16:45:00 +0000
committerTavis Ormandy <taviso@gentoo.org>2003-06-13 16:45:00 +0000
commit0e535712d68db5ab118d5aee71203ad5096397b3 (patch)
tree1ff31423de93ed8a54a6a4c7028d66d326384f49 /app-shells
parentadd >=selinux-small-2003040709-r4 (diff)
downloadhistorical-0e535712d68db5ab118d5aee71203ad5096397b3.tar.gz
historical-0e535712d68db5ab118d5aee71203ad5096397b3.tar.bz2
historical-0e535712d68db5ab118d5aee71203ad5096397b3.zip
show some example prompts.
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/csh/files/dot.cshrc13
1 files changed, 9 insertions, 4 deletions
diff --git a/app-shells/csh/files/dot.cshrc b/app-shells/csh/files/dot.cshrc
index 4032a4bfc69f..ba397431735a 100644
--- a/app-shells/csh/files/dot.cshrc
+++ b/app-shells/csh/files/dot.cshrc
@@ -3,7 +3,7 @@
# some simple aliases
alias h history 25 # use `h` to show the last 25 commands
alias j jobs -l # use `j` to list the background/stopped jobs
-alias ls ls -F --color=auto # most people expect `ls` to show nice colours.
+alias ls ls -F --color=auto # alias `ls` to show nice colours.
alias la ls -a # \
alias lf ls -FA # > some shortcuts to common ls options
alias ll ls -lA # /
@@ -30,9 +30,14 @@ if ($?prompt) then
set unm = `whoami` # your username
# some example csh prompts, choose one you like.
- set prompt = "% " # csh default, simple.
- set prompt = "${mch:q}: {\!} " # NetBSD example prompt, shows hostname and history reference
- set prompt = "${unm:q}@${mch:q}% " # similar to bash.
+ #set prompt = "% " # csh default, simple.
+ #set prompt = "${mch:q}: {\!} " # NetBSD example prompt, shows hostname and history reference
+ set prompt = "${unm:q}@${mch:q}% " # similar to Gentoo default.
+
+ # try this to get pwd in your prompt.
+ #set prompt = "${unm:q}@${mch:q}:\!:`pwd`% "
+ #alias cd 'cd \!*;set prompt = "${unm:q}@${mch:q}:\!:`pwd`% "'
+
umask 0022 # set your user's umask.
endif