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

25 lines
724 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!
# OMZ
MAGIC_ENTER_GIT_COMMAND="$MAGIC_ENTER_OTHER_COMMAND && git status -sb"
2024-06-01 00:46:27 -05:00
MAGIC_ENTER_OTHER_COMMAND="ls -l ."
2023-02-17 09:26:31 -06:00
# 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'