Selectively enable oh-my-zsh.

This commit is contained in:
David Tomaschik
2014-04-05 23:34:21 -07:00
parent 125bf08e73
commit bb519ae3af

12
zshrc
View File

@@ -2,7 +2,7 @@
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt appendhistory autocd autopushd extendedglob nomatch
setopt appendhistory autocd autopushd extendedglob nohup nomatch
unsetopt beep
bindkey -e
# End of lines configured by zsh-newuser-install
@@ -13,7 +13,6 @@ autoload -Uz compinit
compinit
# End of lines added by compinstall
setopt nohup autopushd
DIRSTACKSIZE=16
case $TERM in
xterm*)
@@ -24,6 +23,15 @@ esac
PS1='%n@%m:%32<...<%~%<<%# '
. ~/.profile
# Deduplicate the path
typeset -U path
alias ls='ls --color'
# Load oh-my-zsh
if [ -d $HOME/.oh-my-zsh ] ; then
ZSH=$HOME/.oh-my-zsh
ZSH_THEME="matir"
plugins=(git)
source $ZSH/oh-my-zsh.sh
fi