mirror of
https://github.com/guilhermewerner/dotfiles
synced 2025-06-15 10:54:18 +00:00
Fix macos zsh config
This commit is contained in:
@ -14,7 +14,10 @@ HISTSIZE=1000
|
|||||||
SAVEHIST=1000
|
SAVEHIST=1000
|
||||||
HISTFILE=~/.zsh_history
|
HISTFILE=~/.zsh_history
|
||||||
|
|
||||||
|
if [ "$(uname)" != "Darwin" ]
|
||||||
|
then
|
||||||
. $HOME/.asdf/asdf.sh
|
. $HOME/.asdf/asdf.sh
|
||||||
|
fi
|
||||||
|
|
||||||
# append completions to fpath
|
# append completions to fpath
|
||||||
fpath=(${ASDF_DIR}/completions $fpath)
|
fpath=(${ASDF_DIR}/completions $fpath)
|
||||||
@ -28,7 +31,12 @@ zstyle ':completion:*' completer _expand _complete _correct _approximate
|
|||||||
zstyle ':completion:*' format 'Completing %d'
|
zstyle ':completion:*' format 'Completing %d'
|
||||||
zstyle ':completion:*' group-name ''
|
zstyle ':completion:*' group-name ''
|
||||||
zstyle ':completion:*' menu select=2
|
zstyle ':completion:*' menu select=2
|
||||||
|
|
||||||
|
if [ "$(uname)" != "Darwin" ]
|
||||||
|
then
|
||||||
eval "$(dircolors -b)"
|
eval "$(dircolors -b)"
|
||||||
|
fi
|
||||||
|
|
||||||
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
|
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
|
||||||
zstyle ':completion:*' list-colors ''
|
zstyle ':completion:*' list-colors ''
|
||||||
zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s
|
zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s
|
||||||
|
Reference in New Issue
Block a user