Skip to content

Instantly share code, notes, and snippets.

@intinig
Created September 3, 2014 09:32
Show Gist options
  • Save intinig/6eee88239dc45037d4ac to your computer and use it in GitHub Desktop.
Save intinig/6eee88239dc45037d4ac to your computer and use it in GitHub Desktop.
(if (not (getenv "TERM_PROGRAM"))
(progn (setenv "PATH"
(shell-command-to-string "source $HOME/.bash_profile && printf $PATH"))
(setenv "RIOT_GAMES_API_KEY"
(shell-command-to-string "source $HOME/.bash_profile && printf $RIOT_GAMES_API_KEY"))
(setenv "RIOT_GAMES_NEW_KEY"
(shell-command-to-string "source $HOME/.bash_profile && printf $RIOT_GAMES_NEW_KEY"))))
@spacebat
Copy link

spacebat commented Sep 3, 2014

See my fork

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment