Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
43ca5d8c
Commit
43ca5d8c
authored
Dec 04, 2012
by
Robby Russell
Browse files
Merge pull request #1458 from ranman/master
lazyload virtualenvwrapper
parents
9ae12898
b9d5a390
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/virtualenvwrapper/virtualenvwrapper.plugin.zsh
View file @
43ca5d8c
wrapsource
=
`
which virtualenvwrapper.sh
`
wrapsource
=
`
which virtualenvwrapper
_lazy
.sh
`
if
[[
-f
"
$wrapsource
"
]]
;
then
if
[[
-f
"
$wrapsource
"
]]
;
then
source
$wrapsource
source
$wrapsource
...
@@ -36,5 +36,5 @@ if [[ -f "$wrapsource" ]]; then
...
@@ -36,5 +36,5 @@ if [[ -f "$wrapsource" ]]; then
}
}
fi
fi
else
else
print
"zsh virtualenvwrapper plugin: Cannot find virtualenvwrapper.sh. Please install with
\`
pip install virtualenvwrapper
\`
."
print
"zsh virtualenvwrapper plugin: Cannot find virtualenvwrapper
_lazy
.sh. Please install with
\`
pip install virtualenvwrapper
\`
."
fi
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment