diff options
author | Ryan Kavanagh <rak@rak.ac> | 2021-06-24 20:09:28 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2021-06-24 20:09:28 -0400 |
commit | 03d408302f72622cdde23cbd0f96bc171405e5a1 (patch) | |
tree | b4bab92738251131338c86f42a20f6879475d24f /.zshenv | |
parent | Tidy up .zshrc (diff) |
update rkinits
Diffstat (limited to '.zshenv')
-rw-r--r-- | .zshenv | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -12,8 +12,8 @@ kinits () { kinit -r 200h -f rak@CLUB.CC.CMU.EDU } rkinits () { - for r in CS.CMU.EDU ANDREW.CMU.EDU CLUB.CC.CMU.EDU; do - KRB5CCNAME=`KRB5CCNAME=DIR:$HOME/.cache/krb5cc klist -l | grep $r | sed -e s'/.*:://g'` kinit -R rkavanag@$r + for r in rkavanag@CS.CMU.EDU 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 } |