aboutsummaryrefslogtreecommitdiff
path: root/.zshenv
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2018-05-31 14:40:45 -0400
committerRyan Kavanagh <rak@debian.org>2018-05-31 14:40:45 -0400
commit0f2154f929ba94def0566314b9f2bd1246a045b9 (patch)
treef4c1735fb2d541532e57296156fbae8e1e36019d /.zshenv
parentssh config (diff)
KRB5CCNAME must be set for aklog in zshenv
Diffstat (limited to '.zshenv')
-rw-r--r--.zshenv4
1 files changed, 2 insertions, 2 deletions
diff --git a/.zshenv b/.zshenv
index 49e85ad..f0ab708 100644
--- a/.zshenv
+++ b/.zshenv
@@ -2,11 +2,11 @@ aklogs () {
for r in CS.CMU.EDU ANDREW.CMU.EDU; do
KRB5CCNAME=`KRB5CCNAME=DIR:$HOME/.cache/krb5cc klist -l | grep $r | sed -e s'/.*:://g'` aklog -c $r -k $r
done
- aklog club.cc.cmu.edu
+ KRB5CCNAME=DIR:$HOME/.cache/krb5cc aklog club.cc.cmu.edu
}
rkinits () {
for r in CS.CMU.EDU ANDREW.CMU.EDU; do
KRB5CCNAME=`KRB5CCNAME=DIR:$HOME/.cache/krb5cc klist -l | grep $r | sed -e s'/.*:://g'` kinit -R rkavanag@$r
done
- aklogs
+ KRB5CCNAME=DIR:$HOME/.cache/krb5cc aklogs
}