diff --git a/zshrc b/zshrc index 615304e..624bb9f 100644 --- a/zshrc +++ b/zshrc @@ -9,8 +9,7 @@ bindkey -e # The following lines were added by compinstall zstyle :compinstall filename '/home/david/.zshrc' -autoload -Uz compinit -compinit +autoload -Uz compinit && compinit # End of lines added by compinstall DIRSTACKSIZE=16 @@ -20,7 +19,8 @@ case $TERM in ;; 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 # Deduplicate the path @@ -32,6 +32,6 @@ alias ls='ls --color' if [ -d $HOME/.oh-my-zsh ] ; then ZSH=$HOME/.oh-my-zsh ZSH_THEME="matir" - plugins=(git) + plugins=(git encode64 gpg-agent pep8 pip python tmux urltools) source $ZSH/oh-my-zsh.sh fi