Enable syntax highlighting in zsh.

This commit is contained in:
David Tomaschik
2018-07-04 11:12:37 +02:00
parent ca63946c5e
commit ba497cd5bf
2 changed files with 19 additions and 17 deletions

View File

@@ -1,13 +1,18 @@
# Universal Settings # Universal Settings
Protocol 2 Protocol 2
CanonicalizeHostname yes
CanonicalizeMaxDots 0
CanonicalizeFallbackLocal yes
Include ~/.ssh/config.d/* Include ~/.ssh/config.d/*
CanonicalDomains systemoverlord.com
# Defaults (May be Overridden) # Defaults (May be Overridden)
Host *.* Host *.*
CheckHostIP yes CheckHostIP yes
Host * Match canonical all
CheckHostIP no CheckHostIP no
ControlMaster auto ControlMaster auto
ControlPath ~/.ssh/master/%r@%h:%p ControlPath ~/.ssh/master/%r@%h:%p
@@ -19,7 +24,3 @@ Host *
UpdateHostKeys yes UpdateHostKeys yes
User david User david
VerifyHostKeyDNS yes VerifyHostKeyDNS yes
CanonicalizeHostname yes
CanonicalDomains systemoverlord.com
CanonicalizeMaxDots 0
CanonicalizeFallbackLocal yes

View File

@@ -41,6 +41,7 @@ zstyle ':prezto:load' pmodule \
'gpg' \ 'gpg' \
'python' \ 'python' \
'ruby' \ 'ruby' \
'syntax-highlighting' \
'history-substring-search' \ 'history-substring-search' \
'jekyll' \ 'jekyll' \
'prompt' \ 'prompt' \
@@ -172,14 +173,14 @@ zstyle ':prezto:module:python:virtualenv' initialize 'yes'
# Set syntax highlighters. # Set syntax highlighters.
# By default, only the main highlighter is enabled. # By default, only the main highlighter is enabled.
# zstyle ':prezto:module:syntax-highlighting' highlighters \ zstyle ':prezto:module:syntax-highlighting' highlighters \
# 'main' \ 'main' \
# 'brackets' \ 'brackets' \
# 'pattern' \ 'pattern' \
# 'line' \ 'line' \
# 'cursor' \ 'cursor' \
# 'root' 'root'
#
# Set syntax highlighting styles. # Set syntax highlighting styles.
# zstyle ':prezto:module:syntax-highlighting' styles \ # zstyle ':prezto:module:syntax-highlighting' styles \
# 'builtin' 'bg=blue' \ # 'builtin' 'bg=blue' \
@@ -195,16 +196,16 @@ zstyle ':prezto:module:python:virtualenv' initialize 'yes'
# #
# Auto set the tab and window titles. # Auto set the tab and window titles.
# zstyle ':prezto:module:terminal' auto-title 'yes' zstyle ':prezto:module:terminal' auto-title 'yes'
# Set the window title format. # Set the window title format.
# zstyle ':prezto:module:terminal:window-title' format '%n@%m: %s' zstyle ':prezto:module:terminal:window-title' format '%n@%m: %s'
# Set the tab title format. # Set the tab title format.
# zstyle ':prezto:module:terminal:tab-title' format '%m: %s' zstyle ':prezto:module:terminal:tab-title' format '%m: %s'
# Set the terminal multiplexer title format. # Set the terminal multiplexer title format.
# zstyle ':prezto:module:terminal:multiplexer-title' format '%s' zstyle ':prezto:module:terminal:multiplexer-title' format '%s'
# #
# Tmux # Tmux