# # Sets Prezto options. # # Authors: # Sorin Ionescu # # # 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' # 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' \ 'editor' \ 'directory' \ 'spectrum' \ 'utility' \ 'completion' \ 'prompt' \ 'archive' \ 'syntax-highlighting' \ 'python' \ 'git' \ 'aws' \ 'fzf-tab' \ 'zsh-z' # # Editor # zstyle ':prezto:module:editor' key-bindings 'emacs' # # History # # zstyle ':prezto:module:history' histfile "~/.zsh_history" # zstyle ':prezto:module:history' histsize "100000" # zstyle ':prezto:module:history' histignorespace "true" # # Prompt # zstyle ':prezto:module:prompt' theme 'powerlevel10k' # # Python # zstyle ':prezto:module:python:virtualenv' auto-switch 'yes' # # Syntax Highlighting # zstyle ':prezto:module:syntax-highlighting' highlighters \ 'main' \ 'brackets' \ 'pattern' \ 'line' \ 'root' # # Terminal # zstyle ':prezto:module:terminal' auto-title 'yes' zstyle ':prezto:module:terminal:tab-title' format '%m: %s' # # AWS # zstyle ':prezto:module:aws' output 'table' zstyle ':prezto:module:aws' profile 'default' zstyle ':prezto:module:aws' show_region 'true' zstyle ':prezto:module:aws' sso 'true' # # fzf-tab # # disable sort when completing `git checkout` zstyle ':completion:*:git-checkout:*' sort false # set descriptions format to enable group support zstyle ':completion:*:descriptions' format '[%d]' # set list-colors to enable filename colorizing zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} # switch group using `,` and `.` zstyle ':fzf-tab:*' switch-group ',' '.'