From 03d408302f72622cdde23cbd0f96bc171405e5a1 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Thu, 24 Jun 2021 20:09:28 -0400 Subject: update rkinits --- .zshenv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.zshenv') 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 } -- cgit v1.2.3