Fix up prompt, oh-my-zsh modules.

This commit is contained in:
David Tomaschik
2014-04-08 21:38:31 -07:00
parent bb519ae3af
commit 58c49d5c5b

8
zshrc
View File

@@ -9,8 +9,7 @@ bindkey -e
# The following lines were added by compinstall # The following lines were added by compinstall
zstyle :compinstall filename '/home/david/.zshrc' zstyle :compinstall filename '/home/david/.zshrc'
autoload -Uz compinit autoload -Uz compinit && compinit
compinit
# End of lines added by compinstall # End of lines added by compinstall
DIRSTACKSIZE=16 DIRSTACKSIZE=16
@@ -20,7 +19,8 @@ case $TERM in
;; ;;
esac esac
PS1='%n@%m:%32<...<%~%<<%# ' autoload -U colors && colors
PS1="%{%(!.$fg[red].$fg[green])%}%n%{$fg[white]%}@%{$fg[cyan]%}%m%{$fg[white]%}:%{$fg[green]%}%32<...<%~%<<%{$fg[white]%}%#%{$reset_color%} "
. ~/.profile . ~/.profile
# Deduplicate the path # Deduplicate the path
@@ -32,6 +32,6 @@ alias ls='ls --color'
if [ -d $HOME/.oh-my-zsh ] ; then if [ -d $HOME/.oh-my-zsh ] ; then
ZSH=$HOME/.oh-my-zsh ZSH=$HOME/.oh-my-zsh
ZSH_THEME="matir" ZSH_THEME="matir"
plugins=(git) plugins=(git encode64 gpg-agent pep8 pip python tmux urltools)
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh
fi fi