2012-09-03 20:38:18 +00:00
|
|
|
#
|
|
|
|
# Sets Prezto options.
|
|
|
|
#
|
|
|
|
# Authors:
|
|
|
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
|
|
|
#
|
|
|
|
|
2012-09-13 01:12:48 +00:00
|
|
|
#
|
|
|
|
# General
|
|
|
|
#
|
2012-09-03 20:38:18 +00:00
|
|
|
|
|
|
|
# Set case-sensitivity for completion, history lookup, etc.
|
2013-08-28 02:29:20 +00:00
|
|
|
# zstyle ':prezto:*:*' case-sensitive 'yes'
|
2012-09-03 20:38:18 +00: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-13 01:12:48 +00:00
|
|
|
#
|
|
|
|
# Editor
|
|
|
|
#
|
|
|
|
|
|
|
|
# Set the key mapping style to 'emacs' or 'vi'.
|
2013-05-18 23:23:03 +00:00
|
|
|
zstyle ':prezto:module:editor' key-bindings 'emacs'
|
2012-09-13 01:12:48 +00:00
|
|
|
|
|
|
|
# Auto convert .... to ../..
|
|
|
|
# zstyle ':prezto:module:editor' dot-expansion 'yes'
|
|
|
|
|
|
|
|
#
|
|
|
|
# Git
|
|
|
|
#
|
|
|
|
|
|
|
|
# Ignore submodules when they are 'dirty', 'untracked', 'all', or 'none'.
|
2012-10-02 01:20:59 +00:00
|
|
|
# zstyle ':prezto:module:git:status:ignore' submodules 'all'
|
2012-09-13 01:12:48 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# GNU Utility
|
|
|
|
#
|
|
|
|
|
|
|
|
# Set the command prefix on non-GNU systems.
|
|
|
|
# zstyle ':prezto:module:gnu-utility' prefix 'g'
|
|
|
|
|
2012-12-23 21:54:43 +00: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-13 01:12:48 +00:00
|
|
|
#
|
|
|
|
# Pacman
|
|
|
|
#
|
|
|
|
|
|
|
|
# Set the Pacman frontend.
|
|
|
|
# zstyle ':prezto:module:pacman' frontend 'yaourt'
|
|
|
|
|
|
|
|
#
|
|
|
|
# Prompt
|
|
|
|
#
|
|
|
|
|
2012-09-03 20:38:18 +00: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'
|
|
|
|
|
2014-02-02 04:37:29 +00:00
|
|
|
#
|
|
|
|
# Ruby
|
|
|
|
#
|
|
|
|
|
|
|
|
# Auto switch the Ruby version on directory change.
|
|
|
|
# zstyle ':prezto:module:ruby:chruby' auto-switch 'yes'
|
|
|
|
|
2012-09-13 01:12:48 +00:00
|
|
|
#
|
|
|
|
# Screen
|
|
|
|
#
|
|
|
|
|
2013-01-24 13:54:55 +00: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-13 01:12:48 +00:00
|
|
|
|
|
|
|
#
|
2013-05-18 23:27:40 +00:00
|
|
|
# SSH
|
2012-09-13 01:12:48 +00:00
|
|
|
#
|
|
|
|
|
2013-05-18 23:27:40 +00:00
|
|
|
# Set the SSH identities to load into the agent.
|
|
|
|
# zstyle ':prezto:module:ssh:load' identities 'id_rsa' 'id_rsa2' 'id_github'
|
2012-09-13 01:12:48 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Syntax Highlighting
|
|
|
|
#
|
|
|
|
|
|
|
|
# Set syntax highlighters.
|
2013-03-01 05:20:51 +00:00
|
|
|
# By default, only the main highlighter is enabled.
|
2012-09-15 14:16:33 +00:00
|
|
|
# zstyle ':prezto:module:syntax-highlighting' highlighters \
|
2012-09-13 01:12:48 +00:00
|
|
|
# 'main' \
|
|
|
|
# 'brackets' \
|
|
|
|
# 'pattern' \
|
|
|
|
# 'cursor' \
|
|
|
|
# 'root'
|
2012-12-23 20:50:12 +00:00
|
|
|
#
|
|
|
|
# Set syntax highlighting styles.
|
|
|
|
# zstyle ':prezto:module:syntax-highlighting' styles \
|
|
|
|
# 'builtin' 'bg=blue' \
|
|
|
|
# 'command' 'bg=blue' \
|
|
|
|
# 'function' 'bg=blue'
|
2012-09-13 01:12:48 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Terminal
|
|
|
|
#
|
|
|
|
|
2013-08-27 19:53:49 +00:00
|
|
|
# Auto set the tab and window titles.
|
|
|
|
# zstyle ':prezto:module:terminal' auto-title 'yes'
|
2012-09-13 01:12:48 +00:00
|
|
|
|
2013-08-28 21:13:14 +00:00
|
|
|
# Set the window title format.
|
|
|
|
# zstyle ':prezto:module:terminal:window-title' format '%n@%m: %s'
|
|
|
|
|
|
|
|
# Set the tab title format.
|
|
|
|
# zstyle ':prezto:module:terminal:tab-title' format '%m: %s'
|
|
|
|
|
2012-09-13 01:12:48 +00:00
|
|
|
#
|
|
|
|
# Tmux
|
|
|
|
#
|
|
|
|
|
2013-01-24 13:54:55 +00: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'
|
2014-11-06 23:15:23 +00:00
|
|
|
|
|
|
|
# Integrate with iTerm2.
|
|
|
|
# zstyle ':prezto:module:tmux:iterm' integrate 'yes'
|