diff options
author | Ryan Kavanagh <rak@debian.org> | 2018-05-31 14:40:45 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2018-05-31 14:40:45 -0400 |
commit | 0f2154f929ba94def0566314b9f2bd1246a045b9 (patch) | |
tree | f4c1735fb2d541532e57296156fbae8e1e36019d /.zshenv | |
parent | ssh config (diff) |
KRB5CCNAME must be set for aklog in zshenv
Diffstat (limited to '.zshenv')
-rw-r--r-- | .zshenv | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 } |