Renamed lib/ to functions/ and renamed files inside of it.

This commit is contained in:
Sorin Ionescu 2011-07-14 16:12:15 -04:00
commit 3fd9cf9f86
13 changed files with 2 additions and 2 deletions

23
functions/appearance.zsh Normal file
View file

@ -0,0 +1,23 @@
# Load and run colors.
autoload -U colors
colors -i
# Set the GNU Screen window number.
if [[ -n "$WINDOW" ]]; then
SCREEN_NO="%B$WINDOW%b "
else
SCREEN_NO=""
fi
# 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