################################################################# # # .cshrc file # ################################################################# setenv HOST `/usr/ucb/hostname` setenv MANPATH /usr/man:/usr/local/man:/usr/openwin/man:/usr/math/man #setenv OPENWINHOME /usr/openwin set noclobber set filec ################################################################### # Set up the search path: note that /usr/local should come before # /usr/ucb /usr/bin and /bin since occassionally there are duplicate # commands (e.g., troff) where you always want the local one. # # Also if you want to run sunview- make sure /usr/bin comes # before /usr/openwin/bin. # If you want to run openwin- /usr/openwin/bin should come first. set lpath = ( /usr/local/bin /usr/local ) set path = ( ~/bin /usr/local/bin /opt/gnu/bin /usr/local/gnu/bin \ /opt/bin /usr/ucb /usr/openwin/bin /usr/bin /bin \ /usr/5bin /usr/sbin . ~) # use this for openwin #set path = ( $path[1-3] $lpath $path[4-] ) # use this for sunview #set path = ( $path[1-3] $lpath $path[4] $path[6] $path[5] $path[7-] ) # # ################################################################### set home = ~$USER set lcd = ( ) # add parents of frequently used directories set cdpath = (.. ~ ~/bin ~/src $lcd) limit coredumpsize 0 ######## default file creation mask ############################### umask 022 ######## aliases for all shells ######## # alias cd 'cd \!*;echo $cwd' alias cp 'cp -i' alias mv 'mv -i' alias rm 'rm -i' alias pwd 'echo $cwd' ######### skip remaining setup if not an interactive shell ######### if ($?USER == 0 || $?prompt == 0) exit ######### settings for interactive shells ######### set history=60 set ignoreeof set notify set filec set prompt="`hostname`{`whoami`}\!: " alias m more alias ls 'ls -FCA' alias lo logout alias bye logout alias dir 'ls -lF' alias h history alias wh whereis # # If the shell being spawned is being spawned at a Sun console, # it is assume that it is being done in the Suntools environment. # In this case, label the window banner with the machine name and # the current working directory stack. # #if($?TERM) then # if($TERM =~ sun*) then # alias cd 'cd \!*; label "$HOST% "`dirs`' # alias ilabel 'echo -n "]L\!*\"' # alias label 'echo -n "]l\!*\"' # label "$HOST% "`dirs` # endif #endif ####################### quota -v