123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- #
- # Sets Prezto options.
- #
- # Authors:
- # Sorin Ionescu <sorin.ionescu@gmail.com>
- #
- #
- # General
- #
- # Set case-sensitivity for completion, history lookup, etc.
- zstyle ':prezto:*:*' case-sensitive 'no'
- # 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 \
- 'archive' \
- 'completion' \
- 'directory' \
- 'dpkg' \
- 'editor' \
- 'environment' \
- 'terminal' \
- 'editor' \
- 'git' \
- 'gnu-utility' \
- 'history' \
- 'history-substring-search' \
- 'directory' \
- 'spectrum' \
- 'completion' \
- 'prompt' \
- 'rsync' \
- 'tmux' \
- 'syntax-highlighting' \
- 'utility'
- #
- # Editor
- #
- # Set the key mapping style to 'emacs' or 'vi'.
- zstyle ':prezto:module:editor' keymap '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 'sorin'
- #
- # Screen
- #
- # Auto start a session when Zsh is launched.
- # zstyle ':prezto:module:screen' auto-start 'yes'
- #
- # SSH
- #
- # Set the SSH identities to load into the agent.
- # zstyle ':prezto:module:ssh:load' identities 'id_rsa' 'id_rsa2' 'id_github'
- #
- # Syntax Highlighting
- #
- # Set syntax highlighters.
- # By default, only the main highlighter is enabled.
- zstyle ':prezto:module:syntax-highlighting' highlighters \
- 'main' \
- 'brackets' \
- 'pattern' \
- 'cursor'
- #
- # Set syntax highlighting styles.
- if [[ $TERM = *256color* || $TERM = *rxvt* ]]; then
- zstyle ':prezto:module:syntax-highlighting' styles \
- 'command' 'fg=148' \
- 'builtin' 'fg=38' \
- 'function' 'fg=139' \
- 'cursor' 'bg=231,fg=39'
- else
- zstyle ':prezto:module:syntax-highlighting' styles \
- 'command' 'fg=green' \
- 'builtin' 'fg=blue' \
- 'function' 'fg=cyan' \
- 'cursor' 'bg=white,fg=black'
- fi
- #
- # Terminal
- #
- # Auto set the tab and window titles.
- zstyle ':prezto:module:terminal' auto-title 'yes'
- #
- # Tmux
- #
- # Auto start a session when Zsh is launched.
- # zstyle ':prezto:module:tmux' auto-start 'yes'
- # vim: ft=zsh
|