Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 37 lines (29 sloc) 1.006 kb
08fcf7d @To1ne Enabled colors in ls and made it possible to theme them
To1ne authored
1 # ls colors
e2dba2c @To1ne Joined the appearance so the theme can apply LSCOLORS too
To1ne authored
2 autoload colors; colors;
3 export LSCOLORS="Gxfxcxdxbxegedabagacad"
08fcf7d @To1ne Enabled colors in ls and made it possible to theme them
To1ne authored
4 #export LS_COLORS
5
6 # Enable ls colors
bbef2db @To1ne parse error fix
To1ne authored
7 if [ "$DISABLE_LS_COLORS" != "true" ]
8 then
08fcf7d @To1ne Enabled colors in ls and made it possible to theme them
To1ne authored
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
e2dba2c @To1ne Joined the appearance so the theme can apply LSCOLORS too
To1ne authored
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
08fcf7d @To1ne Enabled colors in ls and made it possible to theme them
To1ne authored
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
e2dba2c @To1ne Joined the appearance so the theme can apply LSCOLORS too
To1ne authored
33
34 # Setup the prompt with pretty colors
35 setopt prompt_subst
36
Something went wrong with that request. Please try again.