123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272 |
- #
- # Sets Prezto options.
- #
- # Authors:
- # Sorin Ionescu <sorin.ionescu@gmail.com>
- #
- #
- # General
- #
- # 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'
- # Add additional directories to load prezto modules from
- # zstyle ':prezto:load' pmodule-dirs $HOME/.zprezto-contrib
- # Allow module overrides when pmodule-dirs causes module name collisions
- # zstyle ':prezto:load' pmodule-allow-overrides '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.
- # NOTE:
- # *syntax-highlighting* should be loaded *second to last*,
- # where last is the *prompt* module, unless used in conjuncture
- # with the *history-substring-search* module
- # where it must be loaded **before** it.
- zstyle ':prezto:load' pmodule \
- 'environment' \
- 'terminal' \
- 'editor' \
- 'history' \
- 'directory' \
- 'spectrum' \
- 'utility' \
- 'git' \
- 'python' \
- 'completion' \
- 'battery' \
- 'syntax-highlighting' \
- 'history-substring-search' \
- 'autosuggestions' \
- 'prompt'
- #
- # Autosuggestions
- #
- # Set the query found color.
- # zstyle ':prezto:module:autosuggestions:color' found ''
- #
- # Completions
- #
- # Set the entries to ignore in static '/etc/hosts' for host completion.
- # zstyle ':prezto:module:completion:*:hosts' etc-host-ignores \
- # '0.0.0.0' '127.0.0.1'
- #
- # Editor
- #
- # Set the characters that are considered to be part of a word.
- # zstyle ':prezto:module:editor' wordchars '*?_-.[]~&;!#$%^(){}<>'
- # 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'
- # Disable git aliases
- zstyle ':prezto:module:git:alias' skip 'yes'
- #
- # GNU Utility
- #
- # Set the command prefix on non-GNU systems.
- # zstyle ':prezto:module:gnu-utility' prefix 'g'
- #
- # History
- #
- # Set the file to save the history in when an interactive shell exits.
- # zstyle ':prezto:module:history' histfile "${ZDOTDIR:-$HOME}/.zsh_history"
- # Set the maximum number of events stored in the internal history list.
- # zstyle ':prezto:module:history' histsize 10000
- # Set the maximum number of history events to save in the history file.
- # zstyle ':prezto:module:history' savehist 10000
- #
- # 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 ''
- # Enable search case-sensitivity.
- # zstyle ':prezto:module:history-substring-search' case-sensitive 'yes'
- # Enable search for fuzzy matches.
- # zstyle ':prezto:module:history-substring-search' fuzzy 'yes'
- # Enable search uniqueness.
- # zstyle ':prezto:module:history-substring-search' unique 'yes'
- # Enable prefixed search.
- # zstyle ':prezto:module:history-substring-search' prefixed 'yes'
- #
- # macOS
- #
- # Set the keyword used by `mand` to open man pages in Dash.app
- # zstyle ':prezto:module:osx:man' dash-keyword 'manpages'
- #
- # 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 'frost'
- # Set the working directory prompt display length.
- # By default, it is set to 'short'. Set it to 'long' (without '~' expansion)
- # for longer or 'full' (with '~' expansion) for even longer prompt display.
- # zstyle ':prezto:module:prompt' pwd-length 'short'
- # Set the prompt to display the return code along with an indicator for non-zero
- # return codes. This is not supported by all prompts.
- # zstyle ':prezto:module:prompt' show-return-val 'yes'
- #
- # Python
- #
- # Auto switch the Python virtualenv on directory change.
- # zstyle ':prezto:module:python:virtualenv' auto-switch 'yes'
- # Automatically initialize virtualenvwrapper if pre-requisites are met.
- # zstyle ':prezto:module:python:virtualenv' initialize 'yes'
- #
- # 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'
- #
- # Syntax Highlighting
- #
- # Set syntax highlighters.
- # By default, only the main highlighter is enabled.
- # zstyle ':prezto:module:syntax-highlighting' highlighters \
- # 'main' \
- # 'brackets' \
- # 'pattern' \
- # 'line' \
- # 'cursor' \
- # 'root'
- #
- # Set syntax highlighting styles.
- # zstyle ':prezto:module:syntax-highlighting' styles \
- # 'builtin' 'bg=blue' \
- # 'command' 'bg=blue' \
- # 'function' 'bg=blue'
- #
- # Set syntax pattern styles.
- # zstyle ':prezto:module:syntax-highlighting' pattern \
- # 'rm*-rf*' 'fg=white,bold,bg=red'
- #
- # 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'
- # Set the terminal multiplexer title format.
- # zstyle ':prezto:module:terminal:multiplexer-title' format '%s'
- #
- # Tmux
- #
- # 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'
- # Integrate with iTerm2.
- # zstyle ':prezto:module:tmux:iterm' integrate 'yes'
- # Set the default session name:
- # zstyle ':prezto:module:tmux:session' name 'YOUR DEFAULT SESSION NAME'
- #
- # Utility
- #
- # Enabled safe options. This aliases cp, ln, mv and rm so that they prompt
- # before deleting or overwriting files. Set to 'no' to disable this safer
- # behavior.
- # zstyle ':prezto:module:utility' safe-ops 'yes'
- # Local Variables:
- # mode: sh
- # End:
|