Last active
April 1, 2017 10:21
-
-
Save pclouds/0720b818062e597b0441728ff4567913 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ -n "$TMUX" ]; then | |
. ~/.xwindow.sh | |
else | |
echo export DISPLAY=$DISPLAY SSH_AGENT_PID=$SSH_AGENT_PID SSH_AUTH_SOCK=$SSH_AUTH_SOCK DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS SESSION_MANAGER=$SESSION_MANAGER >~/.xwindow.sh | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment