Skip to content

Automatically activate venv when enter the project folder

Notifications You must be signed in to change notification settings

ikhomutov/zsh-auto-venv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

zsh-auto-venv

Automatically activate venv when enter the project folder

Installation

  1. Add the following to your .zshrc:

    antigen bundle ikhomutov/zsh-auto-venv
  2. Start a new terminal session.

  1. Clone this repository into $ZSH_CUSTOM/plugins (by default ~/.oh-my-zsh/custom/plugins)

    git clone https://github.com/ikhomutov/zsh-auto-venv ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-auto-venv
  2. Add the plugin to the list of plugins for Oh My Zsh to load (inside ~/.zshrc):

    plugins=(
      ...
      zsh-auto-venv
    )
  3. Start a new terminal session.

Manual (Git Clone)

  1. Clone this repository somewhere on your machine.

    git clone https://github.com/ikhomutov/zsh-auto-venv ~/.zsh/zsh-auto-venv
  2. Add the following to your .zshrc:

    source ~/.zsh/zsh-auto-venv/zsh-auto-venv.zsh
  3. Start a new terminal session.

About

Automatically activate venv when enter the project folder

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages