From f1833b0e4eeb806e594e5663f1fae081098b48fd Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Tue, 24 Jan 2023 21:32:58 +0100 Subject: [PATCH] zsh auto complete case now ignored --- home/.zsh-server/zshrc | 14 ++++++++++---- home/.zsh/zshrc | 7 ++++++- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/home/.zsh-server/zshrc b/home/.zsh-server/zshrc index 602151b..626fe5e 100644 --- a/home/.zsh-server/zshrc +++ b/home/.zsh-server/zshrc @@ -43,12 +43,18 @@ bindkey "^[[1;5C" forward-word bindkey "^[[1;5D" backward-word bindkey -s "^X" 'n^M' -### ---- PLUGINS & THEMES ----------------------------------- +### ---- THEMES ----------------------------------- PS1='%B%F{red}%n@%m%k %B%F{cyan}%(4~|...|)%3~%F{white} %# %b%f%k' + +### ---- ZSH MODULES ----------------------------------- +autoload -Uz compinit && compinit +zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}' + +### ---- PLUGINS ----------------------------------- source $ZSH/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh source $ZSH/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh -source /usr/share/fzf/key-bindings.zsh -source /usr/share/fzf/completion.zsh +source ~/.local/share/fzf/key-bindings.zsh +source ~/.local/share/fzf/completion.zsh fpath=($ZSH/plugins/zsh-completions/src $fpath) ### --- fzf Config ------------------------------------ @@ -56,4 +62,4 @@ export FZF_CTRL_T_OPTS="--preview '(highlight -O ansi -l {} 2> /dev/null || cat export FZF_CTRL_R_OPTS='--no-sort --exact' ### --- nnn Config ------------------------------------ -source /usr/share/nnn/quitcd/quitcd.bash_zsh +source ~/.local/share/nnn/quitcd/quitcd.bash_zsh diff --git a/home/.zsh/zshrc b/home/.zsh/zshrc index 9263608..38ed370 100644 --- a/home/.zsh/zshrc +++ b/home/.zsh/zshrc @@ -53,9 +53,14 @@ bindkey "^[[1;5C" forward-word bindkey "^[[1;5D" backward-word bindkey -s "^X" 'n^M' -### ---- PLUGINS & THEMES ----------------------------------- +### ---- THEMES ----------------------------------- [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh source $ZSH/themes/powerlevel10k/powerlevel10k.zsh-theme +### ---- ZSH MODULES ----------------------------------- +autoload -Uz compinit && compinit +zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}' + +### ---- PLUGINS ----------------------------------- source $ZSH/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh source $ZSH/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh source ~/.local/share/fzf/key-bindings.zsh