Skip to content

Instantly share code, notes, and snippets.

@murarisumit
Last active November 8, 2017 07:23
Show Gist options
  • Select an option

  • Save murarisumit/de2d5a9fcd8dde3501a266180e2d7bbc to your computer and use it in GitHub Desktop.

Select an option

Save murarisumit/de2d5a9fcd8dde3501a266180e2d7bbc to your computer and use it in GitHub Desktop.
Idle in vitualenv #python #idle
#!/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