From a62114c91f2070c8c8453d117f3d81dc113e41ff Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Mon, 25 Mar 2024 16:43:09 +0530 Subject: dotfile update --- zsh/oh-my-zsh/plugins/virtualenvwrapper/README.md | 38 ----------------------- 1 file changed, 38 deletions(-) delete mode 100644 zsh/oh-my-zsh/plugins/virtualenvwrapper/README.md (limited to 'zsh/oh-my-zsh/plugins/virtualenvwrapper/README.md') diff --git a/zsh/oh-my-zsh/plugins/virtualenvwrapper/README.md b/zsh/oh-my-zsh/plugins/virtualenvwrapper/README.md deleted file mode 100644 index 63eb585..0000000 --- a/zsh/oh-my-zsh/plugins/virtualenvwrapper/README.md +++ /dev/null @@ -1,38 +0,0 @@ -# Virtualenvwrapper plugin - -This plugin loads Python's [virtualenvwrapper](https://virtualenvwrapper.readthedocs.io/en/latest/) shell tools. - -To use it, add `virtualenvwrapper` to the plugins array in your zshrc file: - -```zsh -plugins=(... virtualenvwrapper) -``` - -## Usage - -The plugin allows to automatically activate virtualenvs on cd into git repositories with a matching name: - -``` -➜ github $ cd ansible -(ansible) ➜ ansible git:(devel) $ cd docs -(ansible) ➜ docs git:(devel) $ cd .. -(ansible) ➜ ansible git:(devel) $ cd .. -➜ github $ -``` - -We can override this by having a `.venv` file in the directory containing a differently named virtualenv: - -``` -➜ github $ cat ansible/.venv -myvirtualenv -➜ github $ cd ansible -(myvirtualenv) ➜ ansible git:(devel) $ cd .. -➜ github $ -``` - -We can disable this behaviour by setting `DISABLE_VENV_CD=1` before Oh My Zsh is sourced: -```zsh -DISABLE_VENV_CD=1 -plugins=(... virtualenvwrapper) -source $ZSH/oh-my-zsh.sh -``` -- cgit v1.2.3-59-g8ed1b