From e45f7aa1bb0ddefb36aa04eba8bc5a326a462fae Mon Sep 17 00:00:00 2001 From: xero Date: Fri, 29 May 2015 23:40:41 -0400 Subject: add zsh syntax highlighting --- zsh/.zsh/syntax.zsh | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 zsh/.zsh/syntax.zsh (limited to 'zsh') diff --git a/zsh/.zsh/syntax.zsh b/zsh/.zsh/syntax.zsh new file mode 100644 index 0000000..9f112b5 --- /dev/null +++ b/zsh/.zsh/syntax.zsh @@ -0,0 +1,43 @@ +# ██ +# ░██ +# ██████ ██████░██ +# ░░░░██ ██░░░░ ░██████ +# ██ ░░█████ ░██░░░██ +# ██ ░░░░░██░██ ░██ +# ██████ ██████ ░██ ░██ +# ░░░░░░ ░░░░░░ ░░ ░░ +# +# ▓▓▓▓▓▓▓▓▓▓ +# ░▓ author ▓ xero +# ░▓ code ▓ http://code.xero.nu/dotfiles +# ░▓ mirror ▓ http://git.io/.files +# ░▓▓▓▓▓▓▓▓▓▓ +# ░░░░░░░░░░ +# +#█▓▒░ source the plugin https://github.com/zsh-users/zsh-syntax-highlighting +source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh + +#█▓▒░ color overrides +ZSH_HIGHLIGHT_STYLES[default]='none' +ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=red' +ZSH_HIGHLIGHT_STYLES[reserved-word]='fg=yellow' +ZSH_HIGHLIGHT_STYLES[alias]='fg=blue' +ZSH_HIGHLIGHT_STYLES[builtin]='fg=blue' +ZSH_HIGHLIGHT_STYLES[function]='fg=blue' +ZSH_HIGHLIGHT_STYLES[command]='fg=blue' +ZSH_HIGHLIGHT_STYLES[precommand]='none' +ZSH_HIGHLIGHT_STYLES[commandseparator]='none' +ZSH_HIGHLIGHT_STYLES[hashed-command]='fg=blue' +ZSH_HIGHLIGHT_STYLES[path]='none' +ZSH_HIGHLIGHT_STYLES[path_prefix]='none' +ZSH_HIGHLIGHT_STYLES[path_approx]='fg=yellow' +ZSH_HIGHLIGHT_STYLES[globbing]='fg=green' +ZSH_HIGHLIGHT_STYLES[history-expansion]='fg=green' +ZSH_HIGHLIGHT_STYLES[single-hyphen-option]='fg=magenta' +ZSH_HIGHLIGHT_STYLES[double-hyphen-option]='fg=red' +ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='none' +ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=yellow' +ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=yellow' +ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=cyan' +ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=cyan' +ZSH_HIGHLIGHT_STYLES[assign]='none' -- cgit v1.2.1