We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fd972b commit fa1b2a8Copy full SHA for fa1b2a8
virtualenvwrapper.sh
@@ -878,7 +878,10 @@ function mkproject {
878
do
879
echo
880
echo "Applying template $t"
881
- virtualenvwrapper_run_hook --name $t project.template $envname
+ # For some reason zsh insists on prefixing the template
882
+ # names with a space, so strip them out before passing
883
+ # the value to the hook loader.
884
+ virtualenvwrapper_run_hook --name $(echo $t | sed 's/^ //') project.template $envname
885
done
886
887
virtualenvwrapper_run_hook project.post_mkproject
0 commit comments