Skip to content

Instantly share code, notes, and snippets.

@nilp0inter
Last active March 31, 2016 10:28
Show Gist options
  • Save nilp0inter/b27051ea21cc0e045bd361a833663745 to your computer and use it in GitHub Desktop.
Save nilp0inter/b27051ea21cc0e045bd361a833663745 to your computer and use it in GitHub Desktop.
fish function compatible with virtualenvwrapper's workon function
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