"Fossies" - the Fresh Open Source Software Archive 
As a special service "Fossies" has tried to format the requested text file into HTML format (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
1 #############################################################################
2 ##
3 ## .tcshrc
4 ##
5 ## Author: Simos Xenitellis (simos.lists@googlemail.com)
6 ##
7
8 ## This is the basic new .tcshrc file, part of the TCSHRC project
9 ## at http://tcshrc.sourceforge.net
10
11 # basic settings for interactive and non-interactive shells
12 # Thanks to Heather Downs <heather@netlens.com> for the "set -f -l" flags
13 # "set -f" adds a variable in _front of the list, keep one copy
14 # "set -l" adds a variable at the end(_last) of the list, keep one copy
15 # paths with lower priority than system paths like /bin /sbin,,,
16 # Thanks to Spencer White <spencer@nexthost.com> for "if root" condition
17
18 # "root" environment (basic)
19 if ($LOGNAME == "root") then
20 set -f path = ( $path /sbin )
21 set -f path = ( $path /usr/sbin )
22 set -l path = ( $path /usr/local/sbin )
23 endif
24
25 # "user" + "root" environment (basic)
26 set -f path = ( $path /bin )
27 set -f path = ( $path /usr/bin )
28 set -l path = ( $path /usr/local/bin )
29
30 # "user" + "root" environment (misc)
31 set -l path = ( $path /usr/local/ssl/bin )
32 set -l path = ( $path /usr/local/samba/bin )
33 set -l path = ( $path /usr/local/java/bin )
34 set -l path = ( $path /usr/games )
35
36 ########################################################################
37 # skip remaining setup if not an interactive shell
38 if ($?USER == 0 || $?prompt == 0) exit
39
40 # settings for interactive shells
41 source $HOME/.tcshrc.set
42
43 # aliases for interactive shells
44 source $HOME/.tcshrc.alias
45
46 # bindkeys for interactive shells
47 source $HOME/.tcshrc.bindkey
48
49 # completions for interactive shells
50 source $HOME/.tcshrc.complete
51
52 # local settings
53 source $HOME/.tcshrc.local
54
55 # commands for interactive shells
56 ## FIXME this is an example, shows date and current directory
57 date
58 pwd
59