2015-09-18 00:14:17 +00:00
|
|
|
#
|
|
|
|
# Sets Prezto options.
|
|
|
|
#
|
|
|
|
# Authors:
|
|
|
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# General
|
|
|
|
#
|
|
|
|
|
|
|
|
fpath=($HOME/.zsh-custom $fpath)
|
|
|
|
|
|
|
|
# Set case-sensitivity for completion, history lookup, etc.
|
|
|
|
# zstyle ':prezto:*:*' case-sensitive 'yes'
|
|
|
|
|
|
|
|
# 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'
|
|
|
|
|
2020-05-06 14:33:03 +00:00
|
|
|
|
|
|
|
zstyle ':prezto:load' pmodule-dirs $HOME/.zprezto-contrib
|
|
|
|
|
2015-09-18 00:14:17 +00:00
|
|
|
# Set the Prezto modules to load (browse modules).
|
|
|
|
# The order matters.
|
|
|
|
zstyle ':prezto:load' pmodule \
|
|
|
|
'environment' \
|
|
|
|
'terminal' \
|
|
|
|
'editor' \
|
2018-09-12 17:04:59 +00:00
|
|
|
'fasd' \
|
2015-09-18 00:14:17 +00:00
|
|
|
'history' \
|
|
|
|
'directory' \
|
|
|
|
'spectrum' \
|
|
|
|
'utility' \
|
|
|
|
'completion' \
|
2020-05-06 14:33:03 +00:00
|
|
|
'fzf-z' \
|
2015-09-18 00:14:17 +00:00
|
|
|
'pacman' \
|
|
|
|
'git' \
|
2017-10-02 09:24:16 +00:00
|
|
|
'autosuggestions' \
|
2016-03-09 14:16:31 +00:00
|
|
|
'ssh' \
|
2020-05-06 14:33:03 +00:00
|
|
|
'prompt' \
|
|
|
|
'syntax-highlighting'
|
|
|
|
|
|
|
|
# 'fasd' \
|
|
|
|
|
2015-09-18 00:14:17 +00:00
|
|
|
|
|
|
|
|
2017-10-02 09:24:16 +00:00
|
|
|
zstyle ':prezto:module:autosuggestions' color 'yes'
|
|
|
|
|
|
|
|
|
2016-11-10 17:25:59 +00:00
|
|
|
#
|
|
|
|
# Syntax Highlighting
|
|
|
|
#
|
|
|
|
#
|
2015-09-18 00:14:17 +00:00
|
|
|
zstyle ':prezto:module:syntax-highlighting' highlighters \
|
|
|
|
'main' \
|
|
|
|
'brackets' \
|
|
|
|
'pattern' \
|
|
|
|
'root'
|
|
|
|
|
|
|
|
zstyle ':prezto:module:syntax-highlighting' color 'yes'
|
|
|
|
|
|
|
|
#
|
|
|
|
# Editor
|
|
|
|
#
|
|
|
|
|
|
|
|
# Set the key mapping style to 'emacs' or 'vi'.
|
|
|
|
zstyle ':prezto:module:editor' key-bindings 'emacs'
|
|
|
|
|
|
|
|
# Auto convert .... to ../..
|
|
|
|
# zstyle ':prezto:module:editor' dot-expansion 'yes'
|
|
|
|
|
|
|
|
#
|
|
|
|
# Git
|
|
|
|
#
|
|
|
|
|
|
|
|
# Ignore submodules when they are 'dirty', 'untracked', 'all', or 'none'.
|
|
|
|
# zstyle ':prezto:module:git:status:ignore' submodules 'all'
|
|
|
|
|
|
|
|
#
|
|
|
|
# GNU Utility
|
|
|
|
#
|
|
|
|
|
|
|
|
# Set the command prefix on non-GNU systems.
|
|
|
|
# zstyle ':prezto:module:gnu-utility' prefix 'g'
|
|
|
|
|
|
|
|
#
|
|
|
|
# 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 ''
|
|
|
|
|
|
|
|
#
|
|
|
|
# Pacman
|
|
|
|
#
|
|
|
|
|
|
|
|
# Set the Pacman frontend.
|
|
|
|
zstyle ':prezto:module:pacman' frontend 'yaourt'
|
|
|
|
|
|
|
|
#
|
|
|
|
# Prompt
|
|
|
|
#
|
|
|
|
|
|
|
|
# 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 'balkian'
|
|
|
|
|
|
|
|
#
|
|
|
|
# Ruby
|
|
|
|
#
|
|
|
|
|
|
|
|
# Auto switch the Ruby version on directory change.
|
|
|
|
# zstyle ':prezto:module:ruby:chruby' auto-switch 'yes'
|
|
|
|
|
|
|
|
#
|
|
|
|
# Screen
|
|
|
|
#
|
|
|
|
|
|
|
|
# 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'
|
|
|
|
|
|
|
|
#
|
|
|
|
# SSH
|
|
|
|
#
|
|
|
|
|
|
|
|
# Set the SSH identities to load into the agent.
|
|
|
|
zstyle ':prezto:module:ssh:load' identities 'id_rsa'
|
|
|
|
# 'id_rsa2' 'id_github'
|
|
|
|
|
|
|
|
#
|
|
|
|
# Terminal
|
|
|
|
#
|
|
|
|
|
|
|
|
# Auto set the tab and window titles.
|
|
|
|
zstyle ':prezto:module:terminal' auto-title 'yes'
|
|
|
|
|
|
|
|
# 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'
|
|
|
|
|
|
|
|
#
|
|
|
|
# Tmux
|
|
|
|
#
|
|
|
|
|
|
|
|
# Auto start a session when Zsh is launched in a local terminal.
|
2016-03-09 14:16:31 +00:00
|
|
|
#zstyle ':prezto:module:tmux:auto-start' local 'yes'
|
2015-09-18 00:14:17 +00:00
|
|
|
|
|
|
|
# Auto start a session when Zsh is launched in a SSH connection.
|
2016-03-09 14:16:31 +00:00
|
|
|
#zstyle ':prezto:module:tmux:auto-start' remote 'yes'
|
2015-09-18 00:14:17 +00:00
|
|
|
|
|
|
|
# Integrate with iTerm2.
|
|
|
|
# zstyle ':prezto:module:tmux:iterm' integrate 'yes'
|