aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxero <x@xero.nu>2015-05-29 23:40:41 -0400
committerxero <x@xero.nu>2015-05-29 23:40:41 -0400
commite45f7aa1bb0ddefb36aa04eba8bc5a326a462fae (patch)
tree0bf8fbf3627820a57d46d968e464d86cd6200de3
parentec8f869b83ac51c84c3bd5e9b8b8828cd5717cb9 (diff)
downloaddotfiles_ascii-e45f7aa1bb0ddefb36aa04eba8bc5a326a462fae.tar.xz
dotfiles_ascii-e45f7aa1bb0ddefb36aa04eba8bc5a326a462fae.zip
add zsh syntax highlighting
-rw-r--r--zsh/.zsh/syntax.zsh43
1 files changed, 43 insertions, 0 deletions
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 <x@xero.nu>
+# ░▓ 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'