Procházet zdrojové kódy

Issue 7: Add instructions for using with oh-my-zsh

pull/18/head
Julien Nicoulaud před 13 roky
rodič
revize
7c1690f5b0
1 změnil soubory, kde provedl 23 přidání a 0 odebrání
  1. +23
    -0
      README.md

+ 23
- 0
README.md Zobrazit soubor

@ -3,8 +3,12 @@ zsh-syntax-highlighting
An attempt at providing [Fish shell](http://www.fishshell.org) like syntax highlighting for [Zsh](http://www.zsh.org).
## Usage
### From your ~/.zshrc
Download the script or clone this repository:
git clone git://github.com/nicoulaj/zsh-syntax-highlighting.git
@ -18,11 +22,30 @@ Re-open your terminal, or just reload it to take changes into account:
source ~/.zshrc
### With [oh-my-zsh](http://github.com/robbyrussell/oh-my-zsh)
Download the script or clone this repository as a oh-my-zsh plugin:
cd ~/.oh-my-zsh/plugins/
git clone git://github.com/nicoulaj/zsh-syntax-highlighting.git
cd zsh-syntax-highlighting
ln -s zsh-syntax-highlighting.zsh zsh-syntax-highlighting.plugin.zsh
Update your `~/.zshrc` so that the script is sourced:
plugins=(zsh-syntax-highlighting)
Re-open your terminal, or just reload it to take changes into account:
source ~/.zshrc
## References
* [zsh-users mailing list thread](http://www.zsh.org/mla/users/2010/msg00692.html)
* [Gist 586698](http://gist.github.com/586698) and forks
## Authors / Greetings
* [Roy Zuo](http://github.com/roylez)

Načítá se…
Zrušit
Uložit