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 HISTFILE=~/.histfile
HISTSIZE=1000 HISTSIZE=1000
SAVEHIST=1000 SAVEHIST=1000
setopt appendhistory autocd autopushd extendedglob nomatch setopt appendhistory autocd autopushd extendedglob nohup nomatch
unsetopt beep unsetopt beep
bindkey -e bindkey -e
# End of lines configured by zsh-newuser-install # End of lines configured by zsh-newuser-install
@@ -13,7 +13,6 @@ autoload -Uz compinit
compinit compinit
# End of lines added by compinstall # End of lines added by compinstall
setopt nohup autopushd
DIRSTACKSIZE=16 DIRSTACKSIZE=16
case $TERM in case $TERM in
xterm*) xterm*)
@@ -24,6 +23,15 @@ esac
PS1='%n@%m:%32<...<%~%<<%# ' PS1='%n@%m:%32<...<%~%<<%# '
. ~/.profile . ~/.profile
# Deduplicate the path
typeset -U path typeset -U path
alias ls='ls --color' 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