mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
Add alias for virtualenv activation
This commit is contained in:
parent
f94d4e6a40
commit
8048d1e951
1 changed files with 2 additions and 0 deletions
|
|
@ -5,3 +5,5 @@ function virtualenv_prompt_info(){
|
|||
|
||||
# disables prompt mangling in virtual_env/bin/activate
|
||||
export VIRTUAL_ENV_DISABLE_PROMPT=1
|
||||
|
||||
alias activate='source $(find . -maxdepth 3 -name "activate") 2> /dev/null || echo "No virtualenv detected"'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue