modified the zshrc template and added a custom theme

This commit is contained in:
Dylan Hudson 2012-04-22 21:10:03 -07:00
commit f92a794055
2 changed files with 15 additions and 3 deletions

View file

@ -8,8 +8,8 @@ ZSH=$HOME/.oh-my-zsh
ZSH_THEME="robbyrussell" ZSH_THEME="robbyrussell"
# Example aliases # Example aliases
# alias zshconfig="mate ~/.zshrc" alias zshconfig="st ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh" alias ohmyzsh="st ~/.oh-my-zsh"
# Set to this to use case-sensitive completion # Set to this to use case-sensitive completion
# CASE_SENSITIVE="true" # CASE_SENSITIVE="true"
@ -29,8 +29,12 @@ ZSH_THEME="robbyrussell"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse) # Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(git) plugins=(git sublime)
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh
# Customize to your needs... # Customize to your needs...
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/usr/libexec
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"

8
themes/dylan.zsh-theme Normal file
View file

@ -0,0 +1,8 @@
# Yay! High voltage and arrows!
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[blue]%} ("
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg[blue]%})%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}*%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN=""
PROMPT='%{$fg[green]%}%1~%{$reset_color%}%{$fg[red]%}:$(git_prompt_info) %{$fg[cyan]%}->%{$reset_color%} '