dotfiles/home/private_dot_config/zsh/conf.d/misc.zsh

28 lines
756 B
Bash
Raw Normal View History

2023-02-17 09:26:31 -06:00
#
# misc - Set general Zsh config options here, or change plugin settings.
#
# Options
# Undo options from plugins
setopt NO_BEEP # Be quiet!
setopt NO_HIST_BEEP # Be quiet!
2023-02-28 12:10:59 -06:00
# start gpg agent
export GPG_TTY=$(tty)
gpgconf --launch gpg-agent
2023-02-17 09:26:31 -06:00
# OMZ
MAGIC_ENTER_GIT_COMMAND="$MAGIC_ENTER_OTHER_COMMAND && git status -sb"
# let make handle it's own shell completion
zstyle ':completion::complete:make:*:targets' call-command true
2023-02-20 14:00:17 -06:00
# 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}
2023-02-17 09:26:31 -06:00
2023-02-20 14:00:17 -06:00
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'lsd --tree --depth 2 --color always $realpath'