Skip to content

Instantly share code, notes, and snippets.

@tristanlins
Created January 24, 2016 08:46
Show Gist options
  • Save tristanlins/6e75a2e46c75d2986688 to your computer and use it in GitHub Desktop.
Save tristanlins/6e75a2e46c75d2986688 to your computer and use it in GitHub Desktop.
ssh-agent under plasma 5 / arch
# ~/.config/plasma-workspace/shutdown/ssh-agent-shutdown.sh
#!/bin/sh
[ -z "$SSH_AGENT_PID" ] || eval "$(ssh-agent -k)"
~/.config/plasma-workspace/env/ssh-agent-startup.sh
#!/bin/sh
[ -n "$SSH_AGENT_PID" ] || eval "$(ssh-agent -s)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment