]> git.rmz.io Git - dotfiles.git/blob - zsh/lib/theme-and-appearance.zsh
remove lib32-testing repo
[dotfiles.git] / zsh / lib / theme-and-appearance.zsh
1 # ls colors
2 autoload colors; colors;
3 export LSCOLORS="Gxfxcxdxbxegedabagacad"
4 #export LS_COLORS
5
6 # Enable ls colors
7 if [ "$DISABLE_LS_COLORS" != "true" ]
8 then
9 # Find the option for using colors in ls, depending on the version: Linux or BSD
10 ls --color -d . &>/dev/null 2>&1 && alias ls='ls --color=tty' || alias ls='ls -G'
11 fi
12
13 #setopt no_beep
14 setopt auto_cd
15 setopt multios
16 setopt cdablevarS
17
18 if [[ x$WINDOW != x ]]
19 then
20 SCREEN_NO="%B$WINDOW%b "
21 else
22 SCREEN_NO=""
23 fi
24
25 # Apply theming defaults
26 PS1="%n@%m:%~%# "
27
28 # git theming default: Variables for theming the git info prompt
29 ZSH_THEME_GIT_PROMPT_PREFIX="git:(" # Prefix at the very beginning of the prompt, before the branch name
30 ZSH_THEME_GIT_PROMPT_SUFFIX=")" # At the very end of the prompt
31 ZSH_THEME_GIT_PROMPT_DIRTY="*" # Text to display if the branch is dirty
32 ZSH_THEME_GIT_PROMPT_CLEAN="" # Text to display if the branch is clean
33
34 # Setup the prompt with pretty colors
35 setopt prompt_subst
36