dotfiles/.zpreztorc

107 lines
2.0 KiB
Plaintext
Raw Permalink Normal View History

2019-07-18 16:45:46 +00:00
#
# 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'
# 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' \
2019-07-18 16:45:46 +00:00
'directory' \
'spectrum' \
'utility' \
2019-07-18 16:45:46 +00:00
'completion' \
'prompt' \
'archive' \
'syntax-highlighting' \
2019-07-18 16:45:46 +00:00
'python' \
'git' \
2022-04-09 16:14:39 +00:00
'aws' \
2023-08-19 16:37:31 +00:00
'fzf-tab' \
'zsh-z'
2019-07-18 16:45:46 +00:00
#
# Editor
#
zstyle ':prezto:module:editor' key-bindings 'emacs'
#
2022-04-09 19:23:08 +00:00
# History
2019-07-18 16:45:46 +00:00
#
2024-01-25 19:21:03 +00:00
# zstyle ':prezto:module:history' histfile "~/.zsh_history"
# zstyle ':prezto:module:history' histsize "100000"
# zstyle ':prezto:module:history' histignorespace "true"
2019-07-18 16:45:46 +00:00
#
# Prompt
#
2021-06-17 16:13:12 +00:00
zstyle ':prezto:module:prompt' theme 'powerlevel10k'
2019-07-18 16:45:46 +00:00
#
# 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'
2022-04-11 18:24:59 +00:00
zstyle ':prezto:module:aws' sso 'true'
2022-04-09 16:14:39 +00:00
#
# 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 ',' '.'