aboutsummaryrefslogtreecommitdiff
path: root/.zshenv
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2017-03-23 15:49:04 -0400
committerRyan Kavanagh <rak@debian.org>2017-03-23 15:49:04 -0400
commit92d0cc2bdadeafec29bdb5f4528492b901d8a3e3 (patch)
treed8aa9296933662edc5dccaaf63d6bdb8f1b4af2b /.zshenv
parentForce the regeneration of local files (diff)
rkinits
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
+}