renamed variables on jtzemp theme

This commit is contained in:
JT Zemp 2010-07-09 16:24:09 -06:00
commit 23b27fdd2d

View file

@ -1,28 +1,37 @@
# Personalized! - Based on dallas.zsh-theme # Personalized! - Based on dallas.zsh-theme
# Grab the current date (%D) and time (%T) wrapped in {}: {%D %T} # Grab the current date (%D) and time (%T) wrapped in {}: {%D %T}
DALLAS_CURRENT_TIME_="%{$fg[blue]%}[%{$fg[red]%}%T%{$fg[blue]%}]%{$reset_color%}" JTZEMP_CURRENT_TIME_="%{$fg[blue]%}[%{$fg[red]%}%T%{$fg[blue]%}]%{$reset_color%}"
# Grab the current version of ruby in use (via RVM): [ruby-1.8.7] # Grab the current version of ruby in use (via RVM): [ruby-1.8.7]
DALLAS_CURRENT_RUBY_="%{$fg[white]%}[%{$fg[magenta]%}\$(~/.rvm/bin/rvm-prompt i v)%{$fg[white]%}]%{$reset_color%}" JTZEMP_CURRENT_RUBY_="%{$fg[white]%}[%{$fg[magenta]%}\$(~/.rvm/bin/rvm-prompt i v)%{$fg[white]%}]%{$reset_color%}"
# Grab the current machine name: muscato # Grab the current machine name: muscato
DALLAS_CURRENT_MACH_="%{$fg[green]%}%m%{$fg[white]%}:%{$reset_color%}" JTZEMP_CURRENT_MACH_="%{$fg[green]%}%m%{$fg[white]%}:%{$reset_color%}"
# Grab the current filepath, use shortcuts: ~/Desktop # Grab the current filepath, use shortcuts: ~/Desktop
# Append the current git branch, if in a git repository: ~aw@master # Append the current git branch, if in a git repository: ~aw@master
DALLAS_CURRENT_LOCA_="%{$fg[cyan]%}%~\$(git_prompt_info)%{$reset_color%}" JTZEMP_CURRENT_LOCA_="%{$fg[cyan]%}%~\$(git_prompt_info)%{$reset_color%}"
# Grab the current username: dallas # Grab the current username: dallas
DALLAS_CURRENT_USER_="%{$fg[green]%}%n@%{$reset_color%}" JTZEMP_CURRENT_USER_="%{$fg[green]%}%n@%{$reset_color%}"
# Use a % for normal users and a # for privelaged (root) users. # Use a % for normal users and a # for privelaged (root) users.
DALLAS_PROMPT_CHAR_="%{$fg[white]%}%(!.#.%%)%{$reset_color%}" JTZEMP_PROMPT_CHAR_="%{$fg[white]%}%(!.#.%%)%{$reset_color%}"
# For the git prompt, use a white @ and blue text for the branch name # For the git prompt, use a white @ and blue text for the branch name
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[blue]%}(%{$fg[cyan]%}" ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[blue]%}(%{$fg[cyan]%}"
# Close it all off by resetting the color and styles. # Close it all off by resetting the color and styles.
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg[blue]%})%{$reset_color%}" ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg[blue]%})%{$reset_color%}"
# Do nothing if the branch is clean (no changes). # Do nothing if the branch is clean (no changes).
ZSH_THEME_GIT_PROMPT_CLEAN="" ZSH_THEME_GIT_PROMPT_CLEAN=""
# Add 3 cyan ✗s if this branch is diiirrrty! Dirty branch!
# Add 3 red ✗s if this branch is diiirrrty! Dirty branch!
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%} ✗✗✗" ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%} ✗✗✗"
#ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%} !" #ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%} !"
# Put it all together! # Put it all together!
PROMPT="$DALLAS_CURRENT_TIME_ $DALLAS_CURRENT_USER_$DALLAS_CURRENT_MACH_$DALLAS_CURRENT_LOCA_ $DALLAS_PROMPT_CHAR_ " PROMPT="$JTZEMP_CURRENT_TIME_ $JTZEMP_CURRENT_USER_$JTZEMP_CURRENT_MACH_$JTZEMP_CURRENT_LOCA_ $JTZEMP_PROMPT_CHAR_ "