From ff0c3651203617d584476336bf1abb79f2c3d1d5 Mon Sep 17 00:00:00 2001 From: JulianTeu Date: Sat, 16 Jun 2018 12:19:29 +0200 Subject: Added xprofile with sshagent --- .xprofile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .xprofile (limited to '.xprofile') diff --git a/.xprofile b/.xprofile new file mode 100644 index 0000000..5a11352 --- /dev/null +++ b/.xprofile @@ -0,0 +1,8 @@ +xcape -e "Control_L=Escape" + +if ! pgrep -u "$USER" ssh-agent > /dev/null; then + ssh-agent > ~/.ssh-agent-thing +fi +if [[ "$SSH_AGENT_PID" == "" ]]; then + eval "$(<~/.ssh-agent-thing)" +fi -- cgit v1.2.3