2011-06-01 06:48:26 +00:00
|
|
|
# Load and run colors.
|
|
|
|
autoload -U colors
|
|
|
|
colors -i
|
2009-11-05 19:44:28 +00:00
|
|
|
|
2011-06-01 06:48:26 +00:00
|
|
|
# Set the default prompt theme.
|
2009-11-04 19:37:18 +00:00
|
|
|
PS1="%n@%m:%~%# "
|
|
|
|
|
2011-06-01 06:48:26 +00:00
|
|
|
# Set the default Git prompt theme.
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="git:(" # Prefix before the branch name.
|
|
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX=")" # Suffix after the branch name.
|
|
|
|
ZSH_THEME_GIT_PROMPT_DIRTY="*" # Indicator to display if the branch is dirty.
|
|
|
|
ZSH_THEME_GIT_PROMPT_CLEAN="" # Indicator to display if the branch is clean.
|
2009-11-04 19:37:18 +00:00
|
|
|
|
2011-06-01 06:48:26 +00:00
|
|
|
# Enable parameter, arithmentic expansion and command substitution in prompt.
|
2009-11-04 19:37:18 +00:00
|
|
|
setopt prompt_subst
|
|
|
|
|