summaryrefslogtreecommitdiff
path: root/lib/prompt.zsh
blob: 19bacac9d8a7d6a3d0cda557183a5e598d0c09c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
export PAGER=less
export LC_CTYPE=en_US.UTF-8

# speed stuff.

#setopt no_beep
setopt auto_cd
setopt multios
setopt cdablevarS

if [[ x$WINDOW != x ]]
then
    SCREEN_NO="%B$WINDOW%b "
else
    SCREEN_NO=""
fi

PS1="%n@%m:%~%# "

# Setup the prompt with pretty colors
setopt prompt_subst

export LSCOLORS="Gxfxcxdxbxegedabagacad"

function oh_my_zsh_theme_precmd() {
  # Blank function; override this in your themes
}

source "$ZSH/themes/$ZSH_THEME.zsh-theme"