diff options
author | Ryan Kavanagh <rak@rak.ac> | 2021-10-20 16:44:24 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2021-10-20 16:44:24 -0400 |
commit | 6082210c5348babda2c8049752a42e76eeefa02b (patch) | |
tree | 7ab77b1605b337e9a55d852a0606095d3e9668b2 /.zsh | |
parent | use w3m for dumping html email (diff) |
fix annoying tty bugs
Diffstat (limited to '')
-rw-r--r-- | .zshenv | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +# for gpg-agent/pinentry to work, even in non-interactive shells +export GPG_TTY="${TTY}" + +# Otherwise we cannot use ^o as a keybinding +if [[ `uname` == "Darwin" ]]; then + stty discard undef +fi + aklogs () { for r in CS.CMU.EDU ANDREW.CMU.EDU CLUB.CC.CMU.EDU; do KRB5CCNAME=`KRB5CCNAME=DIR:$HOME/.cache/krb5cc klist -l | grep $r | sed -e s'/.*:://g'` aklog -c $r -k $r |