You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
555 B
17 lines
555 B
14 years ago
|
# Load and run colors.
|
||
|
autoload -U colors
|
||
|
colors -i
|
||
15 years ago
|
|
||
14 years ago
|
# Set the default prompt theme.
|
||
15 years ago
|
PS1="%n@%m:%~%# "
|
||
|
|
||
14 years ago
|
# 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.
|
||
15 years ago
|
|
||
14 years ago
|
# Enable parameter, arithmentic expansion and command substitution in prompt.
|
||
15 years ago
|
setopt prompt_subst
|
||
|
|