zsh-autoswitch-virtualenv - 🐍 ZSH plugin to automatically switch python virtualenvs as you move between directories

  •        617

zsh-autoswitch-virtualenv is a simple ZSH plugin that switches python virtualenvs automatically as you move between directories. Simply call the mkvenv command in the directory you wish to setup a virtual environment. A virtual environment specific to that folder will now activate every time you enter it.

https://github.com/MichaelAquilina/zsh-autoswitch-virtualenv

Tags
Implementation
License
Platform

   




Related Projects

zsh-in-docker - Install Zsh, Oh-My-Zsh and plugins inside a Docker container with one line!

  •    Shell

This is a script to automate Oh My Zsh installation in development containers. Works with any image based on Alpine, Ubuntu, Debian, CentOS or Amazon Linux. -t <theme> - Selects the theme to be used. Options are available here. By default the script installs and uses Powerlevel10k, one of the "fastest and most awesome" themes for zsh. This is my recommended theme. If <theme> is a url, the script will try to install the theme using git clone.

zsh-vi-mode - 💻 A better and friendly vi(vim) mode plugin for ZSH.

  •    Shell

💻 A better and friendly vi(vim) mode plugin for ZSH. Maybe you have experienced the default Vi mode in Zsh, after turning on the default Vi mode, you gradually found that it had many problems, some features were not perfect or non-existent, and some behaviors even were different from the native Vi(Vim) mode.

zsh-z - Jump quickly to directories that you have visited "frecently." A native Zsh port of z.sh.

  •    Shell

Zsh-z is a command line tool that allows you to jump quickly to directories that you have visited frequently in the past, or recently -- but most often a combination of the two (a concept known as "frecency"). It works by keeping track of when you go to directories and how much time you spend in them. It is then in the position to guess where you want to go when you type a partial string, e.g., z src might take you to ~/src/zsh. z zsh might also get you there, and z c/z might prove to be even more specific -- it all depends on your habits and how much time you have been using Zsh-z to build up a database. After using Zsh-z for a little while, you will get to where you want to be by typing considerably less than you would need if you were using cd. Zsh-z is a native Zsh port of rupa/z, a tool written for bash and Zsh that uses embedded awk scripts to do the heavy lifting. It was quite possibly my most used command line tool for a couple of years. I decided to translate it, awk parts and all, into pure Zsh script, to see if by eliminating calls to external tools (awk, sort, date, sed, mv, rm, and chown) and reducing forking through subshells I could make it faster. The performance increase is impressive, particularly on systems where forking is slow, such as Cygwin, MSYS2, and WSL. I have found that, in those environments, switching directories using Zsh-z can be over 100% faster than it is using rupa/z.

zsh-autocomplete - 🤖 Real-time type-ahead completion for Zsh

  •    Shell

zsh-autocomplete adds real-time type-ahead autocompletion to Zsh. Find as you type, then press Tab to insert the top completion, ShiftTab to insert the bottom one, or ↓/PgDn to select another completion. Besides live autocompletion, zsh-autocomplete comes with many other useful completion features.

zsh-nvm - Zsh plugin for installing, updating and loading nvm

  •    Shell

nvm is an awesome tool but it can be kind of a pain to install and keep up to date. This zsh plugin allows you to quickly setup nvm once, save it in your dotfiles, then never worry about it again.The plugin will install the latest stable release of nvm if you don't already have it, and then automatically source it for you. You can upgrade nvm to the latest version whenever you want without losing your installed node versions by running nvm upgrade.


awesome-zsh-plugins - A collection of ZSH frameworks, plugins & themes inspired by the various awesome list collections out there

  •    

A collection of ZSH frameworks, plugins, tutorials & themes inspired by the various awesome list collections out there. Please read the Contributing Guidelines before contributing.

desk - A lightweight workspace manager for the shell

  •    Shell

Lightweight workspace manager for the shell. Desk makes it easy to flip back and forth between different project contexts in your favorite shell. Change directory, activate a virtualenv or rvm, load in domain-specific aliases, environment variables, functions, arbitrary shell files, all in a single command.

virtualfish - A Fish wrapper for Ian Bicking's virtualenv, based loosely on Doug Hellman's virtualenvwrapper for Bash

  •    Shell

A Fish Shell wrapper for Ian Bicking's virtualenv, somewhat loosely based on Doug Hellman's virtualenvwrapper for Bourne-compatible shells. You can also get help on #virtualfish on OFTC (ircs://irc.oftc.net:6697/#virtualfish), the same network as the Fish IRC channel.

virtualenv-burrito - One command to have a working virtualenv + virtualenvwrapper environment.

  •    Python

With one command, have a working Python virtualenv + virtualenvwrapper environment. If you're behind a proxy, make sure your shell has the proper http_proxy and https_proxy variables set.

git-extra-commands - A collection of useful extra git scripts I've discovered or written, packaged for ease of use with shell frameworks

  •    Shell

A zsh plugin that packages some extra git helper scripts I've found. I only wrote a few of these scripts, and the ones I didn't each have whatever licensing is included in the file. This collection doesn't actually require ZSH, but packaging it as a ZSH plugin makes it more convenient for people using a ZSH framework to use this collection.

Virtualgo - Easy and powerful workspace based development for go

  •    Go

Virtualgo (or vg for short) is a tool which provides workspace based development for Go. Virtualgo doesn't do dependency resolution or version pinning itself, because this is a hard problem that's already being solved by other tools. Its approach is to build on top of these tools, such as dep, to provide the features features listed above. For people coming from Python vg is very similar to virtualenv, with dep being respective to pip. The main difference is that vg is much easier to use than virtualenv, because there's almost no mental overhead in using vg.

zgen - A lightweight and simple plugin manager for ZSH

  •    Shell

A lightweight plugin manager for Zsh inspired by Antigen. Keep your .zshrc clean and simple. Zgen provides you a few simple commands for managing plugins. It installs your plugins and generates a static init script that will source them for you every time you run the shell. We do this to save some startup time by not having to execute time consuming logic (plugin checking, updates, etc). This means that you have to manually check for updates (zgen update) and reset the init script (zgen reset) whenever you add or remove plugins.

shellspec - A full-featured BDD unit testing framework for bash, ksh, zsh, dash and all POSIX shells

  •    Shell

ShellSpec is a full-featured BDD unit testing framework for dash, bash, ksh, zsh and all POSIX shells that provides first-class features such as code coverage, mocking, parameterized test, parallel execution and more. It was developed as a dev/test tool for cross-platform shell scripts and shell script libraries. ShellSpec is a new modern testing framework released in 2019, but it's already stable enough. With lots of practical CLI features and simple yet powerful syntax, it provides you with a fun shell script test environment. Version 0.28.0 has a lot of enhancements in the CLI. It is basically compatible, but there are some changes that you need to be aware of. See Migration Guide to Version 0.28.0 for details.

antigen - The plugin manager for zsh.

  •    Shell

Antigen is a small set of functions that help you easily manage your shell (zsh) plugins, called bundles. The concept is pretty much the same as bundles in a typical vim+pathogen setup. Antigen is to zsh, what Vundle is to vim. Antigen has reached a certain level of stability and has been used in the wild for around a couple of years. If you face any problems, please open an issue.

docker-zsh-completion - zsh completion for docker

  •    Shell

A zsh completion for Docker. And then in your ~/.zshrc file, add docker to the plugins list. Then run exec zsh to restart zsh.

spaceship-prompt - :rocket::star: A Zsh prompt for Astronauts

  •    Shell

A Zsh prompt for Astronauts. Spaceship is a minimalistic, powerful and extremely customizable Zsh prompt. It combines everything you may need for convenient work, without unnecessary complications, like a real spaceship.

zsh-completions - Additional completion definitions for Zsh.

  •    Shell

Additional completion definitions for Zsh. This projects aims at gathering/developing new completion scripts that are not available in Zsh yet. The scripts may be contributed to the Zsh project when stable enough.

thirsty - Reminds you to drink water - on your terminal.

  •    Shell

zsh/bash script to remind you to drink water. If you're like me and you spend a lot of time programming with the command line open, chances are that you forget about everything for hours, which includes drinking water. At the end of the day I used to realise that I had not consumed enough water. Hence I created a bash/zsh script to remind me to drink water right on my command line.

ntfy - 🖥️📱🔔 A utility for sending notifications, on demand and when commands finish.

  •    Python

The install technique in the quickstart is the suggested method of installation. It can be installed in a virtualenv, but with some caveats: Linux notifications require --system-site-packages for the virtualenv and OS X notifications don't work at all. By default it will only send notifications for commands lasting longer than 10 seconds and if the terminal is focused. Terminal focus works on X11(Linux) and with Terminal.app and iTerm2 on MacOS. Both options can be configured via the --longer-than and --foreground-too options.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.