Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
90a5bd06
Commit
90a5bd06
authored
May 26, 2018
by
Lorenzo Bolla
Committed by
Marc Cornellà
May 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prefer virtualenvwrapper_lazy (#6842)
This gives much faster start up times and only loads virtualenvwrapper when needed. Fix #6839
parent
5896c871
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
virtualenvwrapper.plugin.zsh
plugins/virtualenvwrapper/virtualenvwrapper.plugin.zsh
+9
-1
No files found.
plugins/virtualenvwrapper/virtualenvwrapper.plugin.zsh
View file @
90a5bd06
virtualenvwrapper
=
'virtualenvwrapper.sh'
virtualenvwrapper_lazy
=
'virtualenvwrapper_lazy.sh'
if
((
$+
commands[
$virtualenvwrapper
]
))
;
then
if
((
$+
commands[
$virtualenvwrapper_lazy
]
))
;
then
function
{
setopt local_options
unsetopt equals
virtualenvwrapper
=
${${
virtualenvwrapper_lazy
}
:c
}
source
${${
virtualenvwrapper_lazy
}
:c
}
}
elif
((
$+
commands[
$virtualenvwrapper
]
))
;
then
function
{
setopt local_options
unsetopt equals
...
...
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