aboutsummaryrefslogtreecommitdiff
path: root/.zshenv
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2021-06-24 20:09:28 -0400
committerRyan Kavanagh <rak@rak.ac>2021-06-24 20:09:28 -0400
commit03d408302f72622cdde23cbd0f96bc171405e5a1 (patch)
treeb4bab92738251131338c86f42a20f6879475d24f /.zshenv
parentTidy up .zshrc (diff)
update rkinits
Diffstat (limited to '.zshenv')
-rw-r--r--.zshenv4
1 files changed, 2 insertions, 2 deletions
diff --git a/.zshenv b/.zshenv
index 694921c..4075470 100644
--- a/.zshenv
+++ b/.zshenv
@@ -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
}