diff options
author | Ryan Kavanagh <rak@rak.ac> | 2021-10-21 18:53:22 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2021-10-21 18:53:25 -0400 |
commit | fd9467fd966efe3abf43a0833e29b82a92ce8b05 (patch) | |
tree | 92a7cad44284e2d588b0dc4750602a4274fd92a3 /.zsh | |
parent | dont show mutt sidebar at startup (diff) |
goodbye SCS kerberos/afs :(
Diffstat (limited to '')
-rw-r--r-- | .zshenv | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -7,20 +7,18 @@ if [[ `uname` == "Darwin" ]]; then fi aklogs () { - for r in CS.CMU.EDU ANDREW.CMU.EDU CLUB.CC.CMU.EDU; do + for r in ANDREW.CMU.EDU CLUB.CC.CMU.EDU; do KRB5CCNAME=`KRB5CCNAME=DIR:$HOME/.cache/krb5cc klist -l | grep $r | sed -e s'/.*:://g'` aklog -c $r -k $r - if test "x$r" = "xCS.CMU.EDU"; then - KRB5CCNAME=`KRB5CCNAME=DIR:$HOME/.cache/krb5cc klist -l | grep $r | sed -e s'/.*:://g'` aklog -c club.cc.cmu.edu - fi done } + kinits () { - kinit -r 200h -f rkavanag@CS.CMU.EDU kinit -r 200h -f rkavanag@ANDREW.CMU.EDU kinit -r 200h -f rak@CLUB.CC.CMU.EDU } + rkinits () { - for r in rkavanag@CS.CMU.EDU rkavanag@ANDREW.CMU.EDU rak@CLUB.CC.CMU.EDU; do + for r in rkavanag@ANDREW.CMU.EDU rak@CLUB.CC.CMU.EDU; do KRB5CCNAME=`KRB5CCNAME=DIR:$HOME/.cache/krb5cc klist -l | grep $r | sed -e s'/.*:://g'` kinit -R $r done KRB5CCNAME=DIR:$HOME/.cache/krb5cc aklogs |