Line | |
---|
1 | #!/usr/bin/tcsh |
---|
2 | # Global cshrc file for Debathena machines |
---|
3 | |
---|
4 | setenv HOSTTYPE "`/bin/machtype`" |
---|
5 | setenv ATHENA_SYS `/bin/machtype -S` |
---|
6 | if ( $ATHENA_SYS == "" ) then |
---|
7 | setenv ATHENA_SYS @sys |
---|
8 | endif |
---|
9 | setenv ATHENA_SYS_COMPAT `/bin/machtype -C` |
---|
10 | alias debathena_fsid true |
---|
11 | if ( $?DEBATHENA_HOME_TYPE ) then |
---|
12 | if ( "$DEBATHENA_HOME_TYPE" == afs ) then |
---|
13 | if ( -x "/bin/fsid" ) then |
---|
14 | alias debathena_fsid 'fsid -a' |
---|
15 | else |
---|
16 | alias debathena_fsid 'aklog -p "$HOME"' |
---|
17 | endif |
---|
18 | endif |
---|
19 | endif |
---|
20 | |
---|
21 | alias renew 'set KINIT_ARGS=""; kinit -4 </dev/null >& /dev/null; if ($? != 3) set KINIT_ARGS="-45"; kinit $KINIT_ARGS "$ATHENA_USER" && debathena_fsid && aklog' |
---|
22 | |
---|
23 | set add_flags |
---|
24 | alias add 'eval `/bin/attach -Padd $add_flags \!:*`' |
---|
Note: See
TracBrowser
for help on using the repository browser.