diff --git a/.zlogout b/.zlogout index d48ecab..4fe327c 100644 --- a/.zlogout +++ b/.zlogout @@ -1,4 +1,4 @@ -if [[ -a ~/Dont_forget ]] +if [ -n "$SSH_AGENT_PID" ] then - less ~/Dont_forget + kill "$SSH_AGENT_PID" fi