Coder Social home page Coder Social logo

zsh-plugins's Introduction

A collection of ZSH plugins, mostly completion ones that can be installed as oh-my-zsh plugins or sourced directly.

pytest

Provides basic autocompletion of commands, including custom plugins. There are no other commands provided for this plugin.

python

activate

Are you up to 15 levels deep into a path and need to activate your Python environment? This command will traverse backwards to activate it for you without changing directories when no arguments are passed:

activate

Do you have a list of different paths for different environments? List them in a zsh array in your .zshrc file like so:

virtual_envs=(/path/to/venvs /secondary/path)

So that if you provide and argument that matches a virtualenv in any of those directories it will activate it and place you in that same directory. This will happen only when arguments are passed in and when virtual_envs is set.

For example, if test_project is a virtual environment that lives in /path/to/envs then this would activate it:

activate test_project

cdp

Changes directory to the directory that holds a Python module. Takes a single argument, and must be the name of a python module. For example:

cdp os

Would change directories into the path where os.py exists.

pyclean

Removes *.pyc and *.pyo files from the current working directory.

zsh-plugins's People

Contributors

alfredodeza avatar obestwalter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

zsh-plugins's Issues

Add installation instruction

There are no installation instruction in readme. I had to copy paste pytest autocompletion to make it work.
Please add installation instruction for oh-my-zsh.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.