Last active
March 31, 2016 10:28
-
-
Save nilp0inter/b27051ea21cc0e045bd361a833663745 to your computer and use it in GitHub Desktop.
fish function compatible with virtualenvwrapper's workon function
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
function workon | |
. ~/Envs/$argv[1]/bin/activate.fish | |
if [ -f ~/Envs/$argv[1]/.project ] | |
cd (cat ~/Envs/$argv[1]/.project) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment