Created
October 23, 2019 16:13
-
-
Save aodj/19f2aa824a7a94fdb6fac8d99827a33c to your computer and use it in GitHub Desktop.
pyenv scratch commands
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
init_scratch_dir () { | |
pushd ~/Documents/scratch | |
echo scratch-3.7.2 >> .python-version | |
pyenv virtualenv 3.7.2 scratch-3.7.2 | |
popd | |
} | |
scratch () { | |
pushd ~/Documents/scratch | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment