Last active
November 8, 2017 07:23
-
-
Save murarisumit/de2d5a9fcd8dde3501a266180e2d7bbc to your computer and use it in GitHub Desktop.
Idle in vitualenv #python #idle
This file contains hidden or 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 | |
| #Opening idle in virtualenv | |
| LOCAL_BIN_HOME="$HOME/.local/bin" | |
| mkdir -p $LOCAL_BIN_HOME | |
| echo "python -m idlelib.idle" > $LOCAL_BIN_HOME/vidle | |
| chmod +x $LOCAL_BIN_HOME/vidle | |
| #Add the local bin path to PATH | |
| export PATH=$PATH:$LOCAL_BIN_HOME | |
| #Execute $ vidle | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment