dotfiles/zsh/zshrc

23 lines
628 B
Bash
Raw Normal View History

2020-01-21 18:22:45 +01:00
HISTSIZE=10000
SAVEHIST=$HISTSIZE
HISTFILE=~/.zsh_history
2020-01-10 16:30:27 +01:00
autoload -U compinit && compinit
2020-01-10 17:56:45 +01:00
autoload -U promptinit && promptinit
2020-01-10 23:06:53 +01:00
setopt correct_all
zstyle ':completion:*' menu select
2020-01-10 16:30:27 +01:00
if [[ "$OSTYPE" == (darwin|freebsd)* ]]; then
alias ls='ls -G'
elif [[ "$OSTYPE" == linux* ]]; then
alias ls='ls --color=tty'
fi
2020-01-10 16:11:15 +01:00
alias ll='ls -lh'
2020-01-10 23:06:53 +01:00
2020-01-10 16:11:15 +01:00
source ~/.zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
source ~/.zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
2020-01-15 14:38:08 +01:00
source ~/.zsh/themes/powerlevel10k/powerlevel10k.zsh-theme
2020-01-10 23:06:53 +01:00
2020-01-15 14:27:20 +01:00
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
2020-01-10 15:12:24 +01:00
[ -e ~/.zshrc.local ] && source ~/.zshrc.local