mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-04-17 11:35:32 +08:00
Updated README.
This commit is contained in:
parent
3a6ba003d1
commit
103aecc52e
30
README.md
30
README.md
@ -1,26 +1,17 @@
|
|||||||
zsh-syntax-highlighting
|
zsh-syntax-highlighting
|
||||||
=======================
|
=======================
|
||||||
|
|
||||||
**[Fish shell](http://www.fishshell.com) like syntax highlighting for [Zsh](http://www.zsh.org).**
|
Syntax highlighting for [Zsh](http://www.zsh.org).**
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
*Requirements: zsh 4.3.17+.*
|
|
||||||
|
|
||||||
|
|
||||||
How to install
|
How to install
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
### Using packages
|
|
||||||
|
|
||||||
* Arch Linux: [community/zsh-syntax-highlighting](https://www.archlinux.org/packages/zsh-syntax-highlighting) / [AUR/zsh-syntax-highlighting-git](https://aur.archlinux.org/packages/zsh-syntax-highlighting-git)
|
|
||||||
* Gentoo: [mv overlay](http://gpo.zugaina.org/app-shells/zsh-syntax-highlighting)
|
|
||||||
|
|
||||||
### In your ~/.zshrc
|
|
||||||
|
|
||||||
* Download the script or clone this repository:
|
* Download the script or clone this repository:
|
||||||
|
|
||||||
git clone git://github.com/zsh-users/zsh-syntax-highlighting.git
|
git clone git://github.com/jimmijj/zsh-syntax-highlighting.git
|
||||||
|
|
||||||
* Source the script **at the end** of `~/.zshrc`:
|
* Source the script **at the end** of `~/.zshrc`:
|
||||||
|
|
||||||
@ -30,23 +21,6 @@ How to install
|
|||||||
|
|
||||||
source ~/.zshrc
|
source ~/.zshrc
|
||||||
|
|
||||||
|
|
||||||
### With oh-my-zsh
|
|
||||||
|
|
||||||
* Download the script or clone this repository in [oh-my-zsh](http://github.com/robbyrussell/oh-my-zsh) plugins directory:
|
|
||||||
|
|
||||||
cd ~/.oh-my-zsh/custom/plugins
|
|
||||||
git clone git://github.com/zsh-users/zsh-syntax-highlighting.git
|
|
||||||
|
|
||||||
* Activate the plugin in `~/.zshrc` (in **last** position):
|
|
||||||
|
|
||||||
plugins=( [plugins...] zsh-syntax-highlighting)
|
|
||||||
|
|
||||||
* Source `~/.zshrc` to take changes into account:
|
|
||||||
|
|
||||||
source ~/.zshrc
|
|
||||||
|
|
||||||
|
|
||||||
How to tweak
|
How to tweak
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user