2012-09-03 22:38:18 +02:00
|
|
|
#
|
|
|
|
# Sets Prezto options.
|
|
|
|
#
|
|
|
|
# Authors:
|
|
|
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
|
|
|
#
|
|
|
|
|
2012-09-13 03:12:48 +02:00
|
|
|
#
|
|
|
|
# General
|
|
|
|
#
|
2012-09-03 22:38:18 +02:00
|
|
|
|
|
|
|
# Set case-sensitivity for completion, history lookup, etc.
|
2013-08-28 04:29:20 +02:00
|
|
|
# zstyle ':prezto:*:*' case-sensitive 'yes'
|
2012-09-03 22:38:18 +02: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'
|
|
|
|
|
2015-10-24 13:11:12 +02:00
|
|
|
# Set the Prezto modules to load (browse modules).
|
|
|
|
# The order matters.
|
2012-09-03 22:38:18 +02:00
|
|
|
# Set the Prezto modules to load (browse modules).
|
|
|
|
# The order matters.
|
|
|
|
zstyle ':prezto:load' pmodule \
|
|
|
|
'environment' \
|
|
|
|
'terminal' \
|
|
|
|
'editor' \
|
|
|
|
'history' \
|
|
|
|
'directory' \
|
|
|
|
'spectrum' \
|
|
|
|
'utility' \
|
2015-10-24 13:11:12 +02:00
|
|
|
'ssh' \
|
|
|
|
'tmux' \
|
2012-09-03 22:38:18 +02:00
|
|
|
'completion' \
|
2015-10-24 13:11:12 +02:00
|
|
|
'git' \
|
|
|
|
'syntax-highlighting' \
|
|
|
|
'history-substring-search' \
|
2012-09-03 22:38:18 +02:00
|
|
|
'prompt'
|
|
|
|
|
2012-09-13 03:12:48 +02:00
|
|
|
#
|
|
|
|
# Editor
|
|
|
|
#
|
|
|
|
|
|
|
|
# Set the key mapping style to 'emacs' or 'vi'.
|
2013-05-19 01:23:03 +02:00
|
|
|
zstyle ':prezto:module:editor' key-bindings 'emacs'
|
2012-09-13 03:12:48 +02: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 03:20:59 +02:00
|
|
|
# zstyle ':prezto:module:git:status:ignore' submodules 'all'
|
2012-09-13 03:12:48 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# GNU Utility
|
|
|
|
#
|
|
|
|
|
|
|
|
# Set the command prefix on non-GNU systems.
|
|
|
|
# zstyle ':prezto:module:gnu-utility' prefix 'g'
|
|
|
|
|
2012-12-23 22:54:43 +01: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 03:12:48 +02:00
|
|
|
#
|
|
|
|
# Pacman
|
|
|
|
#
|
|
|
|
|
|
|
|
# Set the Pacman frontend.
|
|
|
|
# zstyle ':prezto:module:pacman' frontend 'yaourt'
|
|
|
|
|
|
|
|
#
|
|
|
|
# Prompt
|
|
|
|
#
|
|
|
|
|
2012-09-03 22:38:18 +02:00
|
|
|
# Set the prompt theme to load.
|
|
|
|
# Setting it to 'random' loads a random theme.
|
|
|
|
# Auto set to 'off' on dumb terminals.
|
2015-10-24 13:11:12 +02:00
|
|
|
zstyle ':prezto:module:prompt' theme 'josh'
|
2012-09-03 22:38:18 +02:00
|
|
|
|
2014-02-02 05:37:29 +01:00
|
|
|
#
|
|
|
|
# Ruby
|
|
|
|
#
|
|
|
|
|
|
|
|
# Auto switch the Ruby version on directory change.
|
|
|
|
# zstyle ':prezto:module:ruby:chruby' auto-switch 'yes'
|
|
|
|
|
2012-09-13 03:12:48 +02:00
|
|
|
#
|
|
|
|
# Screen
|
|
|
|
#
|
|
|
|
|
2013-01-24 14:54:55 +01: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 03:12:48 +02:00
|
|
|
|
|
|
|
#
|
2013-05-19 01:27:40 +02:00
|
|
|
# SSH
|
2012-09-13 03:12:48 +02:00
|
|
|
#
|
|
|
|
|
2013-05-19 01:27:40 +02: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 03:12:48 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Syntax Highlighting
|
|
|
|
#
|
|
|
|
|
|
|
|
# Set syntax highlighters.
|
2013-03-01 06:20:51 +01:00
|
|
|
# By default, only the main highlighter is enabled.
|
2012-09-15 16:16:33 +02:00
|
|
|
# zstyle ':prezto:module:syntax-highlighting' highlighters \
|
2012-09-13 03:12:48 +02:00
|
|
|
# 'main' \
|
|
|
|
# 'brackets' \
|
|
|
|
# 'pattern' \
|
|
|
|
# 'cursor' \
|
|
|
|
# 'root'
|
2012-12-23 21:50:12 +01:00
|
|
|
#
|
|
|
|
# Set syntax highlighting styles.
|
|
|
|
# zstyle ':prezto:module:syntax-highlighting' styles \
|
|
|
|
# 'builtin' 'bg=blue' \
|
|
|
|
# 'command' 'bg=blue' \
|
|
|
|
# 'function' 'bg=blue'
|
2012-09-13 03:12:48 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Terminal
|
|
|
|
#
|
|
|
|
|
2013-08-27 21:53:49 +02:00
|
|
|
# Auto set the tab and window titles.
|
|
|
|
# zstyle ':prezto:module:terminal' auto-title 'yes'
|
2012-09-13 03:12:48 +02:00
|
|
|
|
2013-08-28 23:13:14 +02: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 03:12:48 +02:00
|
|
|
#
|
|
|
|
# Tmux
|
|
|
|
#
|
|
|
|
|
2013-01-24 14:54:55 +01: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-07 00:15:23 +01:00
|
|
|
|
|
|
|
# Integrate with iTerm2.
|
|
|
|
# zstyle ':prezto:module:tmux:iterm' integrate 'yes'
|