dotfiles/zsh/zshrc
2020-01-21 18:22:45 +01:00

22 lines
628 B
Bash

HISTSIZE=10000
SAVEHIST=$HISTSIZE
HISTFILE=~/.zsh_history
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