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.
24 lines
670 B
24 lines
670 B
14 years ago
|
# Load and run colors.
|
||
|
autoload -U colors
|
||
|
colors -i
|
||
15 years ago
|
|
||
14 years ago
|
# Set the GNU Screen window number.
|
||
|
if [[ -n "$WINDOW" ]]; then
|
||
|
SCREEN_NO="%B$WINDOW%b "
|
||
15 years ago
|
else
|
||
14 years ago
|
SCREEN_NO=""
|
||
15 years ago
|
fi
|
||
|
|
||
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
|
||
|
|