aboutsummaryrefslogtreecommitdiff
path: root/.zsh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.zshenv6
1 files changed, 6 insertions, 0 deletions
diff --git a/.zshenv b/.zshenv
index 04367ab..8a55c57 100644
--- a/.zshenv
+++ b/.zshenv
@@ -3,3 +3,9 @@ aklogs () {
KRB5CCNAME=`klist -l | grep $r | sed -e s'/.*:://g'` aklog -c $r -k $r
done
}
+rkinits () {
+ for r in CS.CMU.EDU ANDREW.CMU.EDU; do
+ KRB5CCNAME=`klist -l | grep $r | sed -e s'/.*:://g'` kinit -R rkavanag@$r
+ done
+ aklogs
+}