source: trunk/debathena/config/shell-config/debian/cshrc.debathena @ 24970

Revision 24970, 711 bytes checked in by andersk, 14 years ago (diff)
Line 
1#!/usr/bin/tcsh
2# Global cshrc file for Debathena machines
3
4setenv HOSTTYPE "`/bin/machtype`"
5setenv ATHENA_SYS `/bin/machtype -S`
6if ( $ATHENA_SYS == "" ) then
7  setenv ATHENA_SYS @sys
8endif
9setenv ATHENA_SYS_COMPAT `/bin/machtype -C`
10alias debathena_fsid true
11if ( $?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
19endif
20
21alias 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
23set add_flags
24alias add 'eval `/bin/attach -Padd $add_flags \!:*`'
Note: See TracBrowser for help on using the repository browser.