Created
January 4, 2017 07:03
-
-
Save chwnam/32347dbffb87d572d4176b1f6541d99d to your computer and use it in GitHub Desktop.
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 | |
| PWD=`pwd` | |
| PROJ=`basename $PWD` | |
| VENV_DIR="/home/changwoo/.virtualenvs/$PROJ" | |
| if [[ -d $VENV_DIR ]]; then | |
| echo $PWD > "$VENV_DIR/.project" | |
| echo ".project added to $VENV_DIR" | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment