This repository has been archived on 2022-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
prezto/functions/appearance.zsh
2011-07-14 17:23:17 -04:00

17 lines
555 B
Bash

# Load and run colors.
autoload -U colors
colors -i
# Set the default prompt theme.
PS1="%n@%m:%~%# "
# 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.
# Enable parameter, arithmentic expansion and command substitution in prompt.
setopt prompt_subst