forked from misc/zsh-config
Add support for atuin integration, Homebrew on Linux and eza as ls replacement (#17)
This is basically adding support for bazzite-cli usage. --------- Co-authored-by: Vladimir Viatskii <vladimir@vtsk.online> Reviewed-on: misc/zsh-config#17 Co-authored-by: Vladimir Viatskii <vladimir@hodakov.me>
This commit is contained in:
1 parent
f655fbf527
commit
e7b0a9b313
7 files changed
+115
-21
No files matched your search
@@ -4,8 +4,18 @@ if [ "${OS}" = "Darwin" ] && [ "${OS_ARCH}" = "arm64" ]; then
|
||||
export fpath=(${fpath} /opt/homebrew/share/zsh/site-functions)
|
||||
fi
|
||||
|
||||
# The same goes for Homebrew on Linux.
|
||||
# Yes, /home/linuxbrew is universal for every standard brew install on Linux.
|
||||
if [ "${OS}" = "Linux" ] && [ -d "/home/linuxbrew/.linuxbrew/share/zsh/site-functions" ]; then
|
||||
export fpath=(${fpath} /home/linuxbrew/.linuxbrew/share/zsh/site-functions)
|
||||
fi
|
||||
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
zstyle ':completion:*' menu select=2
|
||||
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
|
||||
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
|
||||
|
||||
if [ "${LIMA_DOCKER}" = "1" ]; then
|
||||
compdef docker-amd64=docker
|
||||
fi
|
||||
Reference in new issue
Block a user