From 94b8b9a5a0ba5c0cf4001c63e83cbbb9ca56c4be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Cornell=C3=A0?= Date: Mon, 9 Mar 2020 14:24:11 +0100 Subject: [PATCH] Add stack section and rewrite plugins introduction --- Plugins.md | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/Plugins.md b/Plugins.md index 683d1b1..7a3d72d 100644 --- a/Plugins.md +++ b/Plugins.md @@ -1,22 +1,18 @@ -Enable the plugins you want by editing your -[*~/.zshrc*](https://github.com/ohmyzsh/ohmyzsh/blob/master/templates/zshrc.zsh-template#L48) file. +## Instructions + +Oh My Zsh plugins allow you add varied functionality to your shell just by enabling them. They are documented in +the README.md file in their respective `plugins/` folder. + +Enable a plugin by adding its name to the `plugins` array in your `.zshrc` file (found in the `$HOME` directory). +For example, this enables the `rails`, `git` and `ruby` plugins, **in that order**: -##### _Example:_ ```shell plugins=(rails git ruby) ``` -_Completion plugins_ will let zsh know which arguments the package has so it can autocomplete. For instance, if you have the Homebrew plugin installed and type: +_NOTE: elements in zsh arrays are separated by spaces. DO NOT use commas._ -``` -brew in -``` - -.. and then hit tab, the *brew* plugin will enable autocompletion to *brew install*. Completion plugins are not documented further on this page as they only provide better introspection for zsh into the original command. *man* is your friend. - -You should always read the source for the plugin before using it to avoid surprises. Plugins are located in ~/.oh-my-zsh/plugins. - -Below is a list of bundled plugins +## Plugins - [adb](#adb) - [alias-finder](#alias-finder) @@ -1641,6 +1637,14 @@ Note that if a filename is misspelled or doesn't have the necessary path descrip --- +## stack + +**Maintainer:** [mcornella](https://github.com/mcornella) + +Provides autocompletion for [Haskell's Stack](https://docs.haskellstack.org/en/stable/README/). + +--- + ## sublime **Maintainer:** [dylnhdsn](https://github.com/dylnhdsn)