aboutsummaryrefslogblamecommitdiff
path: root/.zshenv
blob: 49e85adbf8bcd10d5291cc0c7dcb12795b8ee503 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                          
                                                                                                                 
        
                         
 

                                          
                                                                                                                    


          
aklogs () {
    for r in CS.CMU.EDU ANDREW.CMU.EDU; do
        KRB5CCNAME=`KRB5CCNAME=DIR:$HOME/.cache/krb5cc klist -l | grep $r | sed -e s'/.*:://g'` aklog -c $r -k $r
    done
    aklog club.cc.cmu.edu
}
rkinits () {
    for r in CS.CMU.EDU ANDREW.CMU.EDU; do
        KRB5CCNAME=`KRB5CCNAME=DIR:$HOME/.cache/krb5cc klist -l | grep $r | sed -e s'/.*:://g'` kinit -R rkavanag@$r
    done
    aklogs
}