awesome-zsh-plugins/README.md
2015-05-31 23:46:40 -07:00

30 KiB
Raw Blame History

Table of Contents generated with DocToc

awesome-zsh-plugins

Join the chat at https://gitter.im/unixorn/awesome-zsh-plugins

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

Please read the Contributing Guidelines before contributing.

Frameworks

These frameworks make customizing your zsh setup easier.

  • alf - Alf is an out of this world super fast and configurable framework for zsh; it's modeled after Prezto and Antigen while utilizing Oh My Zsh under the covers; and offers standard defaults, aliases, functions, auto completion, automated updates and installable prompt themes and plugins.
  • ant-zsh - Tiny and lightweight ZSH configuration environment for special customization needs. It includes plugins, themes and a basic convenient setup.
  • antigen-hs - A replacement for antigen optimized for a low overhead when starting up the shell.
  • antigen - 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 can load oh-my-zsh themes and plugins.
  • dotzsh - dotzsh strives to be platform and version independent, some functionality may be lost when running under older versions of zsh, but it should degrade cleanly and allow you to use the same setup on multiple machines of differing OSes without problems.
  • oh-my-zsh - A community-driven framework for managing your zsh configuration. Includes 120+ optional plugins (rails, git, OSX, hub, capistrano, brew, ant, macports, etc), over 120 themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
  • prezto - Prezto enriches the ZSH command line interface environment with sane defaults, aliases, functions, auto completion, and prompt themes
  • zeesh - Zeesh is a cross-platform Zsh framework. It's similar to, but incompatible with, oh-my-zsh. It has a modular plugin architecture making it easy to extend. It has a rich set of defaults, but is designed to be as lightweight as possible.
  • zgen - A lightweight plugin manager for ZSH inspired by antigen, but optimized for speed when starting a new shell. Can load oh-my-zsh compatible plugins and themes.
  • zilsh - A zsh config system that aims to appeal more to power-users and follow the simplistic approach of vim-pathogen.
  • zoppo - The crippled configuration framework for Zsh. As an italian saying goes: "chi va con lo zoppo, impara a zoppicare", we realized we were walking with a cripple and are now going to become crippled ourselves.
  • ztanesh - Improve your UNIX command line experience and productivity with the the configuration provided by ztanesh project: the tools will make your shell more powerful and easier to use.

Not a framework, but still useful

Tutorials

Antigen

Oh-My-Zsh

Prezto

Plugins

  • accurev-zsh - ZSH plugin for accurev.
  • alias-tips - An oh-my-zsh plugin to help remembering those aliases you defined once.
  • autoenv - Extended version of the zsh-autoenv plugin.
  • auto-fu.zsh - Automatic complete-word and list-choices. Originally incr-0.2.zsh by y.fujii .
  • autoupdate-antigen.zshplugin - Antigen doesn't do automatic updates like oh-my-zsh. This plugin adds auto updating for antigen, both of antigen and the bundles loaded in your configuration.
  • blackbox - Stack Exchange's toolkit for storing keys/credentials securely in a git repository.
  • browse-commit - browse-commit is a zsh plugin that lets you open any commit in your browser from the command line.
  • caniuse.plugin.zsh - Add Can I Use... support to ZSH.
  • cd-gitroot - zsh plugin to cd to git repository root directory.
  • cdbk - A ZSH plugin to allow easy named directory creation - shortcuts to any directory you want.
  • copyzshell - zsh plugin to copy your shell configuration to another machine over ssh.
  • czhttpd - Simple http server written in 99.9% pure zsh.
  • deer - file navigator for zsh heavily inspired by ranger.
  • depot-tools - Simple oh-my-zsh plugin for installing the chromium depot_tools. Installing this plugin will put all of the chromium depot_tools in your path automatically.
  • ghost-zeus - zsh plugin that lets you use zeus with normal rails commands.
  • git-aliases.zsh - Creates a lot of useful aliases for combinations of commonly used git commands.
  • git-extra-commands - Extra git helper scripts packaged as a plugin.
  • gitfast - Updated fork of oh-my-zsh gitfast plugin.
  • git-it-on.zsh - Adds ability to open a folder in your current branch on GitHub.
  • gitignore.plugin.zsh - zsh plugin for creating .gitignore files.
  • goenv - Antigen plugin to manage $GOPATH similarly to Python's virtualenvwrapper.
  • hipchat - Send hipchat messages from the shell.
  • hooks - add missing hooks - for plugins and personal use.
  • jvm - Allows selection of JDK on OS X.
  • k - Directory listings for zsh with git features.
  • kitsunebook.plugin.zsh - KitsuneBook plugin for oh-my-zsh.
  • kketcham - oh-my-zsh theme with nifty colors on the git info
  • lesaint-mvn - Maven plugins for Oh-My-Zsh.
  • mysql.plugin.zsh - Adds some functions for dealing with mysql.
  • mysql-colorize - Colors for mysql tables.
  • nice-exit-code - maps exit status code to human readable string.
  • oh-my-dogesh - dogification plugin.
  • oh-my-zsh-dirstack - plugin for displaying dirstack info on a single line.
  • oh-my-zsh-flow3-plugin - This plugin makes the flow command available inside every subdirectory of the TYPO3 Flow distribution.
  • oh-my-zsh-jira-plus - Create JIRAs from the command line.
  • oh-my-zsh-virtualenv-prompt - fork of the virtualenv plugin from upstream. It adds support for customizing the virtualenv prompt in oh-my-zsh themes.
  • opp.zsh - Vim's text-objects-ish for zsh.
  • osx-dev-zsh-plugin - This plugin adds some commands for maintaining various server programs on my OSX install.
  • otter - combination theme and plugin by Allan Hortle.
  • pip-app - Makes it easy to install python applications into distinct virtualenvs so they don't conflict with any other python requirements on your system.
  • pretty-time-zsh - Convert seconds to a human readable string: 165392 → 1d 21h 56m 32s.
  • pure - pretty, minimal and fast ZSH prompt
  • robo-zsh-plugin - a zsh plugin for Robo
  • rvm-zsh - plugin which initiates RVM and adds rubygem binaries (like compass) accessible in the user's $PATH
  • send.zsh - Shortcut script for zsh.
  • sf2.plugin.zsh - ZSH plugin for Symfony2.
  • smart-cd - runs ls and git status after chpwd.
  • snippets - command line snippet expansion.
  • sugarfree - based on the Pure and Candy themes
  • sysadmin-util - Steve Kemp's collection of tool scripts for sysadmins.
  • wd - (warp directory) lets you jump to custom directories in zsh, without using cd. Why? Because cd seems ineffecient when the folder is frequently visited or has a long path.
  • yeoman-zsh-plugin - Edouard Lopez's Yeoman plugin for Oh My ZSH, compatible with yeoman version ≥1.0 (includes options and command auto-completion)
  • zaw-extras - Extras for zaw. Make sure you load zaw first.
  • zaw - zsh anything.el-like widget.
  • zce - vims EasyMotion / Emacss ace-jump-mode for zsh.
  • zero - Zero is both a plugin and a theme. See the github page for installation details.
  • zsh-256color - Enhances the terminal environment with 256 colors. It looks at the chosen TERM environment variable and sees if there is respective ncurses' terminfo with 256 colors available. The result is a multicolor terminal, if available.
  • zsh-add-upstream - plugin to easily add the upstream remote to your git fork.
  • zsh-autoenv - If a directory contains a .env file, it will automatically be executed when you cd into it.
  • zsh-autosuggestions - Fish-like fast/unobtrusive autosuggestions for zsh.
  • zsh-basex - adds several BaseX aliases for simplified usage.
  • zsh-bash - plugin to make ZSH more Bash compatible. It redefines the source command to act more like Bash does. It also enables Bash completions.
  • zsh-bd - Jump back to a specific directory, without doing cd ../../..
  • zsh-colors - Makes it easier to colorize text from the CLI. red foo just works.
  • zsh-dircolors-solarized - Solarized dircolors plugin.
  • zsh-directory-history - A per directory history for zsh.
  • zsh-dwim - zsh-dwim attempts to predict what you will want to do next. It provides a key binding (control-u) that will replace the current (or previous) command line with the command you will want to run next.
  • zsh-functional - ZSH higher order functions.
  • zsh-geeknote - Geeknote plugin for zsh.
  • zsh-git-sync - A zsh plugin to sync git repositories and clean them up.
  • zsh-grunt-plugin - Add autocompletion for grunt.
  • zsh-gvm - Provides autocompletion for gvm(Groovy enVironment Manager)
  • zsh-gvm - gvm (Go version manager) plugin for zsh.
  • zsh-history-substring-search - Needs to be loaded after zsh-syntax-highlighting, or they'll both break. You'll also need to bind keys to its functions, details are in the README.md
  • zsh-konsole-theme-changer - Toggle konsole theme from zsh.
  • zsh-manydots-magic - manydots-magic - zle tweak for emulating ...'==../..' etc.
  • zsh-nodejs-plugin - nodejs plugin for zsh.
  • zsh-nodejs-plugin - srijanshetty's nodejs plugin for zsh with caching of nvm completions and autoloading of nvm if present.
  • zsh-notify - A plugin for the Z shell (on OS X and Linux) that posts desktop notifications when a command terminates with a non-zero exit status or when it took more than 30 seconds to complete, if the terminal application is in the background (or the command's terminal tab is inactive).
  • zsh-open-pr - A ZSH plugin to open pull requests from command line.
  • zsh-pg utility functions to work with PosgreSQL
  • zsh-plugin-ibtool - ibtool shortcuts to generate localized XIB files
  • zsh-plugin-rails - ZSH plugin for Rails
  • zsh-suffix-alias: Directly open files in the shell using ZSH's suffix aliases.
  • zsh-syntax-highlighting - Add syntax highlighting to your zsh. Make sure you load this before zsh-users/zsh-history-substring-search or they will both break.
  • zsh-t32 - plugin for the Lauterbach Trace32 toolset. It automatically registers fonts and sets all necessary environment variables to run the t32 toolset.
  • zsh-url-highlighter - A plugin for the zsh syntax highlighter that turns URLs green if they respond with a "good" status, and red otherwise. Useful for checking URL typos.
  • zsh-vim-mode - Shrikant Sharat's bindings for zsh's vi mode so it behaves more vim-like
  • zshmarks - A port of Bashmarks (by Todd Werth), a simple command line bookmarking plugin, for oh-my-zsh

Themes

If you're using Antigen, you can test these themes in a running zsh with antigen theme githubuser/repo. If you're using zgen, add them to your init.zsh with zgen load githubuser/reponame.

  • af-magic-mod - af-magic-mod theme. Install with antigen theme desyncr/zshrc themes/af-magic-mod
  • alpharized - an oh-my-zsh theme optimized to work with solarized dark. It's a modified version of the avit theme.
  • angry fly - shows git information in right hand prompt
  • bullet-train-oh-my-zsh-theme - Add with antigen theme caiogondim/bullet-train-oh-my-zsh-theme bullet-train
  • cobalt2 - Wes Bos' Cobalt 2 theme for ZSH and iTerm 2
  • codemachine - codemachine theme
  • cute-theme - An OSX oh-my-zsh shell theme with Cute emoji based on the Powerline Vim plugin.
  • dracula - A dark theme for Atom, Alfred, Chrome DevTools, iTerm, Sublime Text, Textmate, Terminal.app, Vim, Xcode, Zsh
  • elementary-prezto - prezto theme with git status display
  • frisk-red - Red version of the frisk theme from oh-my-zsh
  • furio - fork of the Cloud oh-my-zsh theme. with different colors and emojis
  • gitsome - Super simple prompt with git info, optimized for the Flat Terminal color scheme.
  • gawaine - Nicola Racco's theme. Requires rvm & git plugins.
  • hackersaurus - theme with git status and exit code of last command run embedded in the prompt. Related to powerlevel9k
  • intheloop-powerline - An extension of the intheloop theme to use powerline fonts
  • itg - itsthatguy's theme
  • jcl-zsh-theme - Loosely based on the ys theme
  • judgedim - minimalist prompt.
  • liquidprompt - A full-featured & carefully designed adaptive prompt for Bash & ZSH
  • maxulysse/myzsh Maxime Garcia's myzsh theme.
  • megaprompt - A maximalist prompt including keyboard mode, ownership info, and other contextual info, with λ as the prompt character. Requires hooks plugin.
  • mindful-space - Zsh theme with space in mind
  • minimal S1ck94's minimal theme
  • misa - misalabs' zsh theme
  • ningxia - based on af-magic
  • oh-my-git - An opinionated prompt for bash and zsh
  • pad - A concise and colorful oh-my-zsh theme
  • platypus - Platypus is a simple and convenient theme for Oh My ZSH used by Frédéric de Villamil.
  • powerlevel9k - A very flexible theme based on the well-known agnoster-theme with support for various VCS, AWS, rbenv, virtualenv, etc.
  • pure - Pretty, minimal and fast ZSH prompt.
  • racotecnic - based on af-magic and posh-git
  • rummik/zsh-theme Rummik's theme
  • seeker - This theme uses many special unicode characters to be fancy, but it may cause some problems without well supported fonts
  • smiley - A prompt with happy and sad faces
  • solarizsh - color fix for robbyrussell's oh-my-zsh theme to work with Solarized
  • spowerline - written in scala, inspired by agnoster, tmux powerline, vim powerline and the vim status plugin.
  • the-time-lord - based on gallifrey
  • tvline - derived from agnoster's theme, adds powerline font enhancements.
  • vinhnx - Modified from themes/mgutz.zsh-theme.Looks great when using with Solarized color scheme.
  • wild-cherry - A fairy-tale inspired theme for Zsh, iTerm, Sublime, Atom, & Mou
  • zero - Zero's theme & plugin
  • zsh-prompt-powerline - A fairly heavyweight zsh prompt, based on the powerline font from the popular eponymous vim plugin, which works well for a dark background.
  • zsh2000 - Powerline looking zsh theme with rvm prompt, git status and branch, current time, user, hostname, pwd, exit status, root and background job status.

Fonts

Some of the themes listed here require Powerline-compatible fonts, here are a few:

  • Awesome Terminal Fonts - A family of fonts to have some nice monospaced Icons.
  • Input Mono - A family of fonts designed specifically for code. It offers both monospaced and proportional fonts and includes powerline glyphs.
  • Powerline - A collection of a dozen or so fonts patched to include powerline gylphs.

Even more completions

These plugins add tab completion without adding extra functions or aliases.

Installation

Antigen

Most of these plugins can be installed by adding antigen bundle githubuser/reponame to your .zshrc file. Antigen will handle cloning the plugin for you automatically the next time you start zsh. You can also add the plugin to a running zsh with antigen bundle githubuser/reponame for testing before adding it to your .zshrc.

dotzsh

  1. Clone new plugins into .zsh.local/modules
  2. Load the plugin module in .zshrc
  3. Open a new zsh terminal window or tab

Oh-My-Zsh

  1. cd ~/.oh-my-zsh/custom/plugins
  2. git clone repo
  3. Add the repo to your plugin list

Prezto

  1. Clone the plugin into your prezto modules directory
  2. Add the plugin to your .zpreztorc file
  3. Open a new terminal window or tab

Zgen

Most of these plugins can be installed by adding zgen load githubuser/reponame to your .zshrc file in the same function you're doing your other zgen load calls in.

Writing New Plugins

I've documented some recommendations for writing a new plugin here.

Other lists

Find other useful awesome-* lists at the awesome collection