dotfiles/home/private_dot_config/zsh/dot_zstyles

30 lines
1 KiB
Text
Raw Normal View History

2023-11-29 16:35:38 -06:00
#!/usr/bin/env zsh
zstyle ':antidote:bundle' file ${ZDOTDIR:-~}/.zplugins
zstyle ':antidote:static' file ${ZDOTDIR:-~}/.zplugins.zsh
zstyle ':antidote:bundle' use-friendly-names 'yes'
2024-06-12 02:12:43 -05:00
zstyle ':antidote:bundle:*' zcompile 'yes'
2024-07-24 13:35:23 -05:00
zstyle ':antidote:static:*' zcompile 'yes'
2023-11-29 16:35:38 -06:00
zstyle ':antidote:plugin:*' defer-options '-p'
# Set this to whatever you want to use to edit a command
zstyle :zle:edit-command-line editor vim
2024-06-11 12:19:33 -05:00
# let make handle it's own shell completion
zstyle ':completion::complete:make:*:targets' call-command true
# fzf-tab completions
# 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}
if (( $+commands[eza] )); then
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'eza --tree --level 2 --color always --icons always $realpath'
fi
2024-10-21 14:01:46 -05:00
# NOTE: This may lead to unexpected behavior since some flags break this plugin.
# See Aloxaf/fzf-tab#455.
zstyle ':fzf-tab:*' use-fzf-default-opts yes