Last active
December 17, 2015 19:19
-
-
Save asmeurer/5659568 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/bash | |
## Is emacs-jedi already running? | |
ps -ef | grep jedi-port.lo[g] 2>&1 >/dev/null | |
if [[ $? -ne 0 ]] | |
then | |
# Replace the following 3 lines with your virtualenv | |
cd ~/Documents/emacs-jedi/env/ | |
source bin/activate | |
nohup python ~/Documents/emacs-jedi/jediepcserver.py --port-file ~/Documents/emacs-jedi/jedi-port.log & | |
fi | |
## Finally start emacs with the given arguments ... | |
emacs "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment