Indrajit Raychaudhuri
ac628c9059
[general] Switch code block formatting to use fence formatting
...
Changes:
* Indented code block doesn't support syntax highlighting, use fenced
formatting (```) instead for better syntax highlighting
* Wrap commands/functions in backticks
* Typo fixes
8 years ago
Indrajit Raychaudhuri
bcbaea27af
[python] Detect actual `pip` command available for generating completion cache
...
We cannot always assume availability of `pip`, it can be `pip2` or `pip3`
instead. We detect the first available one and use it for generating the
completion cache.
8 years ago
Kaleb Elwert
899c176942
python: add ubuntu locations for virtualenvwrapper.sh
8 years ago
Kaleb Elwert
7d5beeab51
Add comments into each of the function files to make them easier to find
8 years ago
Matthew Crenshaw
ecc34e0051
Move virtualenv auto-switch cwd hook optional loader out from inside unrelated if statement ( #1338 )
8 years ago
Kaleb Elwert
7ae7a0266c
Update python docs to include info on virtualenv auto-switching
8 years ago
Matthew Crenshaw
08e39a587f
Python virtualenv auto workon cwd hook ( #1300 )
...
* Command to activate virtualenvs on changing directory
Enables automatic activation of a virtualenv when jumping into a directory
This is done by looking in the current directory for a file or directory
named `.venv`. If it's not found in the current directory its parents will
also be examined. `.venv` can be either:
1. A file containing the name of a virtualenv found in $WORKON_HOME
2. A directory containing bin/activate (meaning that the directory is
assumed to be a virtualenv.)
If $WORKON_HOME is set it is assumed that virtualenvwrapper is installed
and the `workon` command will be issued.
8 years ago
Kaleb Elwert
2794f95d3e
Use the lazy-loaded version of virtualenvwrapper if available
...
This shouldn't cause problems for anyone and should improve startup times for
anyone using python with virtualenvwrapper because it will wait for the first
command to load rather than right away.
8 years ago
Kaleb Elwert
1050a0a290
Add better support for pyenv virtualenvs
8 years ago
Indrajit Raychaudhuri
4f87376b50
Add support for 'pip', 'pip2', 'pip3' completion
...
Since `pip completion --zsh` might be slow, we cache it beforehand.
The implementation is along the lines of 'npm' completion in 'node' module.
8 years ago
Kaleb Elwert
7011031a87
Don't use a deprecated argument as a python example
...
Thanks to @jeffwidman for pointing this out
Closes #1141
8 years ago
Calvin Smith
a7729561e8
Add support for skipping VIRTUALENVWRAPPER init in modules/python ( #598 )
...
* Support skip-virtualenvwrapper-init zstyle in python module to avoid auto-sourcing of virtualenvwrapper.sh
* Don't overwrite the WORKON_HOME env var if the user has already set it
8 years ago
Humberto Morales
fea08d4e50
[ Fix #669 ] Do not use lazy virtualenvwrapper
...
Lazy virtualenvwrapper completion crashes Zsh.
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
10 years ago
Sorin Ionescu
a84ac5b002
Only one newline at end of file
10 years ago
Arthur Noel
bf9dbfd5b9
Support $PYTHONUSERBASE per PEP 370
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
11 years ago
Sorin Ionescu
459238b2bb
Replace pythonz with pyenv
...
Depending on Python to manage Python is silly.
12 years ago
Sorin Ionescu
e5de305157
[ Fix #383 ] Do not set $MANPATH
...
man dynamically searches for man pages based on $PATH.
12 years ago
Sorin Ionescu
b36d98e431
Fix the name of the theme setup function in READMEs
12 years ago
Sorin Ionescu
f12c24e76e
Rename python-info zstyle patterns
12 years ago
Sorin Ionescu
7d68d3ff52
[ Fix #297 ] Check for pythonz before returning
12 years ago
Sorin Ionescu
ac04921afa
Clarify info functions descriptions
12 years ago
Sorin Ionescu
eceef765b7
Move theming documentation into its own section
12 years ago
Sorin Ionescu
fb9a20591f
[ Fix #197 ] Rebrand as Prezto
...
Conflicts:
README.md
runcoms/zshenv
12 years ago
Sorin Ionescu
afae737b78
Document virtualenvwrapper configuration variables
12 years ago
Sorin Ionescu
f8689401de
Set the virtualenvwrapper $WORKON_HOME variable
12 years ago
Sorin Ionescu
6e664690ef
Use the lazy virtualenvwrapper
12 years ago
Sorin Ionescu
98c545a102
[ Fix #248 ] Replace virtualenv_info with python-info
...
Conflicts:
modules/python/README.md
12 years ago
Sorin Ionescu
1057801208
[ Fix #218 ] Add support for pythonz
13 years ago
Sorin Ionescu
627d653360
Alias py to python
13 years ago
Sorin Ionescu
060d9064f8
[ Fix #202 ] Load modules all or nothing
13 years ago
Sorin Ionescu
b2b90c22f8
Improve diction in documentation
13 years ago
Sorin Ionescu
075f516763
Clean up READMEs
13 years ago
Sorin Ionescu
e541283126
[ Fix #112 ] Add documentation for python
13 years ago
Sebastian Wiesner
c9561e1b87
Source virtualenvwrapper in python module
13 years ago
Sorin Ionescu
a7340886b3
[ #23 ] Rename plugins to modules
13 years ago