]> git.rmz.io Git - dotfiles.git/blob - zsh/lib/theme-and-appearance.zsh
Merge branch 'master' of tardis:dotfiles
[dotfiles.git] / zsh / lib / theme-and-appearance.zsh
1 # ls colors
2 autoload colors; colors;
3 eval $(dircolors $XDG_CONFIG_HOME/dircolors)
4
5 # Enable ls colors
6 ls='ls --color=auto'
7
8 setopt no_beep
9 setopt multios
10
11 if [[ x$WINDOW != x ]]
12 then
13 SCREEN_NO="%B$WINDOW%b "
14 else
15 SCREEN_NO=""
16 fi
17
18 # Apply theming defaults
19 PS1="%n@%m:%~%# "
20
21 # git theming default: Variables for theming the git info prompt
22 ZSH_THEME_GIT_PROMPT_PREFIX="git:(" # Prefix at the very beginning of the prompt, before the branch name
23 ZSH_THEME_GIT_PROMPT_SUFFIX=")" # At the very end of the prompt
24 ZSH_THEME_GIT_PROMPT_DIRTY="*" # Text to display if the branch is dirty
25 ZSH_THEME_GIT_PROMPT_CLEAN="" # Text to display if the branch is clean
26
27 # Setup the prompt with pretty colors
28 setopt prompt_subst