commit 14a45fc68b2d19612fccf6892fdf75f1de29f43c parent 2c2f00a490f41b449ef9bae81de2c988ada889ff Author: Daniel Moch <daniel@danielmoch.com> Date: Thu, 8 Mar 2018 18:31:25 -0500 Add .zlogout file Diffstat:
A | .zlogout | | | 11 | +++++++++++ |
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/.zlogout b/.zlogout @@ -0,0 +1,11 @@ +# +# ~/.zlogout +# +if [ $SHLVL -le 1 ] +then + if [[ -n "$SSH_TTY" ]] + then + killall gpg-agent + fi + clear +fi