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 | |
parent | Pulse stuff should be installed (diff) |
Added functions for refreshing afs tokens
-rw-r--r-- | .zshenv | 5 | ||||
-rw-r--r-- | .zshrc | 3 | ||||
-rwxr-xr-x | Makefile | 1 |
3 files changed, 7 insertions, 2 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 +} @@ -106,8 +106,7 @@ alias sm='tmux attach -t mail || tmux -f ${HOME}/.tmux-mail.conf attach -t mail' alias remote_3051='ssh -f -N -q -L 6301:192.168.1.207:631 ryan@ryanak.ca' alias sshfw='ssh -oForwardAgent=yes' alias mail="RLWRAP_FILTERDIR=${HOME}/.rlwrap rlwrap -z mail_filter mail" -alias kinits="kinit -r 200h -f rkavanag && kinit -r 200h -f rkavanag@ANDREW.CMU.EDU" -alias aklogs="aklog CS.CMU.EDU && aklog ANDREW.CMU.EDU" +alias kinits="kinit -r 200h -f rkavanag@CS.CMU.EDU && kinit -r 200h -f rkavanag@ANDREW.CMU.EDU" # END LOCAL @@ -85,6 +85,7 @@ GLOBAL_FILES = \ .xmobarrc \ .xmonad/ \ .zsh/ \ + .zshenv \ .zlogout \ bin/ \ |