Zsh: Move stuff around
This commit is contained in:
parent
c6af7af6ad
commit
90e7c6007e
|
@ -2,11 +2,10 @@
|
||||||
[[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]] &&
|
[[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]] &&
|
||||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
|
|
||||||
# Some variables
|
# Load the completion system
|
||||||
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern regexp root line)
|
autoload -Uz compinit && compinit
|
||||||
ZLE_RPROMPT_INDENT=0
|
|
||||||
|
|
||||||
# Load the .zsh files
|
# Source *.zsh files
|
||||||
for zfile in $ZDOTDIR/*.zsh; do
|
for zfile in $ZDOTDIR/*.zsh; do
|
||||||
source $zfile
|
source $zfile
|
||||||
done
|
done
|
||||||
|
|
|
@ -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
|
|
14
zsh/.config/zsh/options.zsh
Normal file
14
zsh/.config/zsh/options.zsh
Normal 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
|
Loading…
Reference in a new issue