Zsh: Move stuff around

This commit is contained in:
the_4n0nym0u53 2022-03-15 20:59:34 +01:00
parent c6af7af6ad
commit 90e7c6007e
No known key found for this signature in database
GPG key ID: 35EE09F5481049BB
3 changed files with 17 additions and 12 deletions

View file

@ -2,11 +2,10 @@
[[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]] &&
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
# Some variables
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern regexp root line)
ZLE_RPROMPT_INDENT=0
# Load the completion system
autoload -Uz compinit && compinit
# Load the .zsh files
# Source *.zsh files
for zfile in $ZDOTDIR/*.zsh; do
source $zfile
done

View file

@ -1,8 +0,0 @@
# Load the completion system
autoload -Uz compinit && compinit
# Case insensitive completion for lowercase
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
# Highlighted tab selection
zstyle ':completion:*' menu yes select

View file

@ -0,0 +1,14 @@
# Case insensitive completion for lowercase
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
# Highlighted tab selection
zstyle ':completion:*' menu yes select
# Friendly names in Antidote
zstyle ':antidote:bundle' use-friendly-names 'yes'
# Syntax highlighters
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern regexp root line)
# Right indentation off
ZLE_RPROMPT_INDENT=0