dynamic aliases

This commit is contained in:
Piotr Domański 2023-11-23 16:39:05 +01:00
parent 26f6af06bc
commit f5039e6c2d

6
.zshrc
View file

@ -62,7 +62,11 @@ setopt INC_APPEND_HISTORY
setopt SHARE_HISTORY setopt SHARE_HISTORY
# Basic auto/tab complete: # Basic auto/tab complete:
autoload -U compinit if type brew &>/dev/null; then
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
fi
autoload -Uz compinit
zstyle ':completion:*' menu select zstyle ':completion:*' menu select
zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*' zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'