From cb5affa0e11c200f175e26ced4f2866aa916d2c9 Mon Sep 17 00:00:00 2001 From: A Farzat Date: Tue, 5 Nov 2024 07:42:55 +0900 Subject: Remove zsh submodule Zsh config will be included as bare files instead of a submodule. The zsh config repo will still exist, but the content will be used by yadm without the repo itself. --- .config/zsh/halfway/completion.zsh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .config/zsh/halfway/completion.zsh (limited to '.config/zsh/halfway/completion.zsh') diff --git a/.config/zsh/halfway/completion.zsh b/.config/zsh/halfway/completion.zsh new file mode 100644 index 0000000..da4d070 --- /dev/null +++ b/.config/zsh/halfway/completion.zsh @@ -0,0 +1,12 @@ +# Make completion case insensitive. +zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' +# 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} +# Preview directory's content with eza when completing cd. +zstyle ':fzf-tab:complete:cd:*' fzf-preview 'eza -1 --color=always $realpath' +# Switch group using `,` and `.`. +zstyle ':fzf-tab:*' switch-group ',' '.' -- cgit v1.2.3-70-g09d2