20 lines
570 B
Bash
20 lines
570 B
Bash
autoload -U compinit && compinit
|
|
autoload -U promptinit && promptinit
|
|
|
|
setopt correct_all
|
|
zstyle ':completion:*' menu select
|
|
|
|
if [[ "$OSTYPE" == (darwin|freebsd)* ]]; then
|
|
alias ls='ls -G'
|
|
elif [[ "$OSTYPE" == linux* ]]; then
|
|
alias ls='ls --color=tty'
|
|
fi
|
|
alias ll='ls -lh'
|
|
|
|
source ~/.zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
|
source ~/.zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
|
source ~/.zsh/themes/powerlevel10k/powerlevel10k.zsh-theme
|
|
|
|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
|
[ -e ~/.zshrc.local ] && source ~/.zshrc.local
|