Skip to content

Instantly share code, notes, and snippets.

@ohcibi
Created July 4, 2012 16:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ohcibi/3048256 to your computer and use it in GitHub Desktop.
Save ohcibi/3048256 to your computer and use it in GitHub Desktop.
if [[ "$DISPLAY" = "" && "`tty`" = "/dev/tty1" ]]; then
eval `keychain -q --eval id_rsa`
startx &
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment