Syntax highlighting in shell

You can have syntax highlighting in your own shell. Like so:

shows syntax highlighting in action, commands in green, tentative in yellow
screen capture of zsh session with syntax highlighting

How?

In my case, via oh-my-zsh and it’s plugins. Config excerpt:

# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(git gitignore autojump command-not-found zsh-syntax-highlighting)

					
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s