diff options
author | Ryan Kavanagh <rak@debian.org> | 2017-02-24 16:58:20 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2017-02-24 16:58:20 -0500 |
commit | 3a1c7d22b96732de4c89584b97723a22d255b8b2 (patch) | |
tree | 943ce7f6d4f2117affce5afd9fb46b69fa4d293e /.zshenv | |
parent | Pulse stuff should be installed (diff) |
Added functions for refreshing afs tokens
Diffstat (limited to '.zshenv')
-rw-r--r-- | .zshenv | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -0,0 +1,5 @@ +aklogs () { + for r in CS.CMU.EDU ANDREW.CMU.EDU; do + KRB5CCNAME=`klist -l | grep $r | sed -e s'/.*:://g'` aklog -c $r -k $r + done +} |