2012-09-03 16:38:18 -04:00
|
|
|
#
|
|
|
|
# Sets Prezto options.
|
|
|
|
#
|
|
|
|
# Authors:
|
|
|
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
|
|
|
#
|
|
|
|
|
2012-09-12 21:12:48 -04:00
|
|
|
#
|
|
|
|
# General
|
|
|
|
#
|
2012-09-03 16:38:18 -04:00
|
|
|
|
|
|
|
# Set case-sensitivity for completion, history lookup, etc.
|
2013-08-27 22:29:20 -04:00
|
|
|
# zstyle ':prezto:*:*' case-sensitive 'yes'
|
2012-09-03 16:38:18 -04:00
|
|
|
|
|
|
|
# Color output (auto set to 'no' on dumb terminals).
|
|
|
|
zstyle ':prezto:*:*' color 'yes'
|
|
|
|
|
|
|
|
# Set the Zsh modules to load (man zshmodules).
|
|
|
|
# zstyle ':prezto:load' zmodule 'attr' 'stat'
|
|
|
|
|
|
|
|
# Set the Zsh functions to load (man zshcontrib).
|
|
|
|
# zstyle ':prezto:load' zfunction 'zargs' 'zmv'
|
|
|
|
|
|
|
|
# Set the Prezto modules to load (browse modules).
|
|
|
|
# The order matters.
|
|
|
|
zstyle ':prezto:load' pmodule \
|
|
|
|
'environment' \
|
|
|
|
'terminal' \
|
|
|
|
'editor' \
|
|
|
|
'history' \
|
|
|
|
'directory' \
|
|
|
|
'spectrum' \
|
|
|
|
'utility' \
|
|
|
|
'completion' \
|
|
|
|
'prompt'
|
|
|
|
|
2012-09-12 21:12:48 -04:00
|
|
|
#
|
|
|
|
# Editor
|
|
|
|
#
|
|
|
|
|
|
|
|
# Set the key mapping style to 'emacs' or 'vi'.
|
2013-05-18 19:23:03 -04:00
|
|
|
zstyle ':prezto:module:editor' key-bindings 'emacs'
|
2012-09-12 21:12:48 -04:00
|
|
|
|
|
|
|
# Auto convert .... to ../..
|
|
|
|
# zstyle ':prezto:module:editor' dot-expansion 'yes'
|
|
|
|
|
|
|
|
#
|
|
|
|
# Git
|
|
|
|
#
|
|
|
|
|
|
|
|
# Ignore submodules when they are 'dirty', 'untracked', 'all', or 'none'.
|
2012-10-01 21:20:59 -04:00
|
|
|
# zstyle ':prezto:module:git:status:ignore' submodules 'all'
|
2012-09-12 21:12:48 -04:00
|
|
|
|
|
|
|
#
|
|
|
|
# GNU Utility
|
|
|
|
#
|
|
|
|
|
|
|
|
# Set the command prefix on non-GNU systems.
|
|
|
|
# zstyle ':prezto:module:gnu-utility' prefix 'g'
|
|
|
|
|
2012-12-23 16:54:43 -05:00
|
|
|
#
|
|
|
|
# History Substring Search
|
|
|
|
#
|
|
|
|
|
|
|
|
# Set the query found color.
|
|
|
|
# zstyle ':prezto:module:history-substring-search:color' found ''
|
|
|
|
|
|
|
|
# Set the query not found color.
|
|
|
|
# zstyle ':prezto:module:history-substring-search:color' not-found ''
|
|
|
|
|
|
|
|
# Set the search globbing flags.
|
|
|
|
# zstyle ':prezto:module:history-substring-search' globbing-flags ''
|
|
|
|
|
2012-09-12 21:12:48 -04:00
|
|
|
#
|
|
|
|
# Pacman
|
|
|
|
#
|
|
|
|
|
|
|
|
# Set the Pacman frontend.
|
|
|
|
# zstyle ':prezto:module:pacman' frontend 'yaourt'
|
|
|
|
|
|
|
|
#
|
|
|
|
# Prompt
|
|
|
|
#
|
|
|
|
|
2012-09-03 16:38:18 -04:00
|
|
|
# Set the prompt theme to load.
|
|
|
|
# Setting it to 'random' loads a random theme.
|
|
|
|
# Auto set to 'off' on dumb terminals.
|
|
|
|
zstyle ':prezto:module:prompt' theme 'sorin'
|
|
|
|
|
2012-09-12 21:12:48 -04:00
|
|
|
#
|
|
|
|
# Screen
|
|
|
|
#
|
|
|
|
|
2013-01-24 08:54:55 -05:00
|
|
|
# Auto start a session when Zsh is launched in a local terminal.
|
|
|
|
# zstyle ':prezto:module:screen:auto-start' local 'yes'
|
|
|
|
|
|
|
|
# Auto start a session when Zsh is launched in a SSH connection.
|
|
|
|
# zstyle ':prezto:module:screen:auto-start' remote 'yes'
|
2012-09-12 21:12:48 -04:00
|
|
|
|
|
|
|
#
|
2013-05-18 19:27:40 -04:00
|
|
|
# SSH
|
2012-09-12 21:12:48 -04:00
|
|
|
#
|
|
|
|
|
2013-05-18 19:27:40 -04:00
|
|
|
# Set the SSH identities to load into the agent.
|
|
|
|
# zstyle ':prezto:module:ssh:load' identities 'id_rsa' 'id_rsa2' 'id_github'
|
2012-09-12 21:12:48 -04:00
|
|
|
|
|
|
|
#
|
|
|
|
# Syntax Highlighting
|
|
|
|
#
|
|
|
|
|
|
|
|
# Set syntax highlighters.
|
2013-03-01 00:20:51 -05:00
|
|
|
# By default, only the main highlighter is enabled.
|
2012-09-15 10:16:33 -04:00
|
|
|
# zstyle ':prezto:module:syntax-highlighting' highlighters \
|
2012-09-12 21:12:48 -04:00
|
|
|
# 'main' \
|
|
|
|
# 'brackets' \
|
|
|
|
# 'pattern' \
|
|
|
|
# 'cursor' \
|
|
|
|
# 'root'
|
2012-12-23 15:50:12 -05:00
|
|
|
#
|
|
|
|
# Set syntax highlighting styles.
|
|
|
|
# zstyle ':prezto:module:syntax-highlighting' styles \
|
|
|
|
# 'builtin' 'bg=blue' \
|
|
|
|
# 'command' 'bg=blue' \
|
|
|
|
# 'function' 'bg=blue'
|
|
|
|
#
|
2012-09-12 21:12:48 -04:00
|
|
|
|
|
|
|
#
|
|
|
|
# Terminal
|
|
|
|
#
|
|
|
|
|
|
|
|
# Auto set the tab and window titles.
|
|
|
|
zstyle ':prezto:module:terminal' auto-title 'yes'
|
|
|
|
|
|
|
|
#
|
|
|
|
# Tmux
|
|
|
|
#
|
|
|
|
|
2013-01-24 08:54:55 -05:00
|
|
|
# Auto start a session when Zsh is launched in a local terminal.
|
|
|
|
# zstyle ':prezto:module:tmux:auto-start' local 'yes'
|
|
|
|
|
|
|
|
# Auto start a session when Zsh is launched in a SSH connection.
|
|
|
|
# zstyle ':prezto:module:tmux:auto-start' remote 'yes'
|
2012-09-12 21:12:48 -04:00
|
|
|
|