From 3a1c7d22b96732de4c89584b97723a22d255b8b2 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Fri, 24 Feb 2017 16:58:20 -0500 Subject: Added functions for refreshing afs tokens --- .zshenv | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .zshenv (limited to '.zshenv') diff --git a/.zshenv b/.zshenv new file mode 100644 index 0000000..04367ab --- /dev/null +++ b/.zshenv @@ -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 +} -- cgit v1.2.3