From b3ce0f36d61a1585c018d2d3602fae1d72e4b024 Mon Sep 17 00:00:00 2001 From: Qix Date: Sun, 1 Mar 2015 00:36:33 -0500 Subject: [PATCH] Update README.markdown A few spelling fixes, grammatical fixes (what's with all the ellipses?), some standardization of capitalization, and a few other tweaks. As well, I changed all standalone code fragments into proper code blocks. I also added a missing theme image! --- README.markdown | 70 +++++++++++++++++++++++++++++++++---------------- 1 file changed, 47 insertions(+), 23 deletions(-) diff --git a/README.markdown b/README.markdown index 3805d1eb..d4d3fdba 100644 --- a/README.markdown +++ b/README.markdown @@ -3,9 +3,9 @@ Oh My Zsh is an open source, community-driven framework for managing your [zsh](http://www.zsh.org/) configuration. That sounds boring. Let's try this again. -__Oh My Zsh is a way of life!__ Once installed, your terminal prompt will become the talk of the town _or your money back!_ Each time you interface with your command prompt, you'll be able take advantage of the hundreds of bundled plugins and pretty themes. Strangers will come up to you in cafés and ask you, _"that is amazing. are you some sort of genius?"_ Finally, you'll begin to get the sort of attention that you always felt that you deserved. ...or maybe you'll just use the time that you saved to start flossing more often. +__Oh My Zsh is a way of life!__ Once installed, your terminal prompt will become the talk of the town _or your money back!_ Each time you interact with your command prompt, you'll be able take advantage of the hundreds of bundled plugins and pretty themes. Strangers will come up to you in cafés and ask you, _"that is amazing. are you some sort of genius?"_ Finally, you'll begin to get the sort of attention that you always felt that you deserved. ...or maybe you'll just use the time that you saved to start flossing more often. -To learn more, visit http://ohmyz.sh and/or follow [ohmyzsh](https://twitter.com/ohmyzsh) on twitter. +To learn more, visit http://ohmyz.sh and/or follow [ohmyzsh](https://twitter.com/ohmyzsh) on Twitter. ## Getting Started @@ -43,7 +43,9 @@ If you spot a plugin (or several) that you would like to use with Oh My Zsh, you For example, this line might begin to look like... -`plugins=(git bundler osx rake ruby)` +```shell +plugins=(git bundler osx rake ruby) +``` #### Using Plugins @@ -51,7 +53,7 @@ Most plugins (should! we're working on this) include a __README__, which documen ### Themes -We'll admit it. Early in the Oh My Zsh world... we may have gotten far too theme happy. We have over one hundred themes now bundled. Most of them have [screenshots](https://wiki.github.com/robbyrussell/oh-my-zsh/themes) on the wiki. Check them out! +We'll admit it. Early in the Oh My Zsh world, we may have gotten a bit too theme happy. We have over one hundred themes now bundled. Most of them have [screenshots](https://wiki.github.com/robbyrussell/oh-my-zsh/themes) on the wiki. Check them out! #### Selecting a Theme @@ -59,23 +61,29 @@ _Robby's theme is the default one. It's not the fanciest one. It's not the simpl Once you find a theme that you want to use, you will need to edit the `~/.zshrc` file. You'll see an environment variable (all caps) in there that looks like: -`ZSH_THEME="robbyrussell"` +```shell +ZSH_THEME="robbyrussell" +``` To use a different theme, simple change the value to match the name of your desired theme. For example: -`ZSH_THEME="agnoster"` (this is one of the fancy ones) +```shell +ZSH_THEME="agnoster" # (this is one of the fancy ones) +``` Open up a new terminal window and your prompt should look something like... -In case you did not find a suitable theme for your needs, please have a look at the wiki for [more themes](https://github.com/robbyrussell/oh-my-zsh/wiki/External-themes). +![Agnoster theme](https://cloud.githubusercontent.com/assets/2618447/6316862/70f58fb6-ba03-11e4-82c9-c083bf9a6574.png) + +In case you did not find a suitable theme for your needs, please have a look at the wiki for [more of them](https://github.com/robbyrussell/oh-my-zsh/wiki/External-themes). ## Advanced Topics -If you're the type that likes to get their hands dirty... these sections might resonate. +If you're the type that likes to get their hands dirty, these sections might resonate. ### Advanced Installation -For those who want to install this manually and/or set custom paths. +Some users may want to change the default path, or manually install Oh My Zsh. #### Custom Directory @@ -83,27 +91,37 @@ The default location is `~/.oh-my-zsh` (hidden in your home directory) If you'd like to change the install directory with the `ZSH` environment variable, either by running `export ZSH=/your/path` before installing, or by setting it before the end of the install pipeline like this: -`curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | ZSH=~/.dotfiles/zsh sh` +```shell +curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | ZSH=~/.dotfiles/zsh sh +``` #### Manual Installation ##### 1. Clone the repository: -`git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh` +```shell +git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh +``` -##### 2. *Optionally*, backup your existing @~/.zshrc@ file: +##### 2. *Optionally*, backup your existing `~/.zshrc` file: -`cp ~/.zshrc ~/.zshrc.orig` +```shell +cp ~/.zshrc ~/.zshrc.orig +``` ##### 3. Create a new zsh configuration file You can create a new zsh config file by copying the template that we included for you. -`cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc` +```shell +cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc +``` ##### 4. Change your default shell -`chsh -s /bin/zsh` +```shell +chsh -s /bin/zsh +``` ##### 5. Initialize your new zsh configuration @@ -120,7 +138,7 @@ If you have any hiccups installing, here are a few common fixes. If you want to override any of the default behaviors, just add a new file (ending in `.zsh`) in the `custom/` directory. -If you have many functions that go well together, you can put them as a `abcyzeae.plugin.zsh` file in the `custom/plugins/` directory and then enable this plugin. +If you have many functions that go well together, you can put them as a `XYZ.plugin.zsh` file in the `custom/plugins/` directory and then enable this plugin. If you would like to override the functionality of a plugin distributed with Oh My Zsh, create a plugin of the same name in the `custom/plugins/` directory and it will be loaded instead of the one in `plugins/`. @@ -128,17 +146,23 @@ If you would like to override the functionality of a plugin distributed with Oh By default, you will be prompted to check for upgrades every few weeks. If you would like `oh-my-zsh` to automatically upgrade itself without prompting you, set the following in your `~/.zshrc`: -`DISABLE_UPDATE_PROMPT=true` +```shell +DISABLE_UPDATE_PROMPT=true +``` To disable automatic upgrades, set the following in your `~/.zshrc`: -`DISABLE_AUTO_UPDATE=true` +```shell +DISABLE_AUTO_UPDATE=true +``` ### Manual Updates -If you'd like to upgrade at any point in time (maybe someone just released a new plugin and you don't want to wait a week?)... you just need to run: +If you'd like to upgrade at any point in time (maybe someone just released a new plugin and you don't want to wait a week?) you just need to run: -`upgrade_oh_my_zsh` +```shell +upgrade_oh_my_zsh +``` Magic! @@ -154,7 +178,7 @@ I'm far from being a [Zsh](http://www.zsh.org/) expert and suspect there are man We also need people to test out pull-requests. So take a look through [the open issues](https://github.com/robbyrussell/oh-my-zsh/issues) and help where you can. -### Do NOT Send Us Themes +### Do NOT send us themes We have (more than) enough themes for the time being. Please add your theme to the [external themes](https://github.com/robbyrussell/oh-my-zsh/wiki/External-themes) wiki page. @@ -166,12 +190,12 @@ Thank you so much! ## Follow Us -We have an [ohmyzsh](https://twitter.com/ohmyzsh) account. You should follow it. +We have an [@ohmyzsh](https://twitter.com/ohmyzsh) Twitter account. You should follow it. ## Merchandise We have [stickers](http://shop.planetargon.com/products/ohmyzsh-stickers-set-of-3-stickers) and [shirts](http://shop.planetargon.com/products/ohmyzsh-t-shirts) for you to show off your love of Oh My Zsh. Again, this will help you become the talk of the town! -## LICENSE +## License Oh My Zsh is released under the [MIT license](https://github.com/robbyrussell/oh-my-zsh/blob/master/MIT-LICENSE.txt).