26 lines
508 B
Bash
26 lines
508 B
Bash
HISTFILE=~/.histfile
|
|
HISTSIZE=1000
|
|
SAVEHIST=1000
|
|
bindkey -e
|
|
zstyle :compinstall filename "$HOME/.zshrc"
|
|
autoload -Uz compinit
|
|
compinit
|
|
autoload -Uz promptinit
|
|
promptinit
|
|
prompt clint
|
|
|
|
. ~/dotfiles/aliases
|
|
|
|
# Load additions
|
|
case $OSTYPE in
|
|
darwin*)
|
|
[ -f ~/dotfiles/zshrc_mac ] && . ~/dotfiles/zshrc_mac
|
|
;;
|
|
freebsd*)
|
|
[ -f ~/dotfiles/zshrc_bsd ] && . ~/dotfiles/zshrc_bsd
|
|
;;
|
|
linux-gnu)
|
|
[ -f ~/dotfiles/zshrc_linux ] && . ~/dotfiles/zshrc_linux
|
|
;;
|
|
esac
|
|
[ -f ~/.zshrc_local ] && . ~/.zshrc.local |