polemon.org
 

.zshrc

This is my .zshrc for my favourite shell, the Z shell.

You can always download the latest version here.
Or, take a look at the source:

.zshrc

 1: # zsh rc file
 2: #
 3: # Maintainer:   Szymon 'Polemon' Bereziak <polemon@polemon.org>
 4: # Last Change:  2009-07-05
 5: # URL:          http://polemon.org
 6: # Version:      0.2
 7: #
 8:
 9: # Return if this is not an interactive shell
10: [ -z "$PS1" ] && return
11:
12: # The following lines were added by compinstall
13:
14: zstyle ':completion:*' completer _expand _complete _correct _approximate
15: zstyle ':completion:*' list-colors ''
16: zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s
17: zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z} m:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
18: zstyle ':completion:*' max-errors 10 numeric
19: zstyle ':completion:*' menu select=1
20: zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
21: zstyle ':completion:*' verbose false
22: zstyle :compinstall filename '/home/bereziak/.zshrc'
23:
24: autoload -Uz compinit
25: compinit
26: # End of lines added by compinstall
27: # Lines configured by zsh-newuser-install
28: HISTFILE=~/.histfile
29: HISTSIZE=1000
30: SAVEHIST=1000
31: setopt autocd
32: unsetopt beep
33: bindkey -e
34: # End of lines configured by zsh-newuser-install
35:
36: # make less more friendly for non-text input files, see lesspipe(1)
37: [ -x /usr/bin/lesspipe ] && eval "$(lesspipe)"
38:
39: # enable color support of ls and also add handy aliases
40: if [ "$TERM" != "dumb" ]; then
41:     eval "`dircolors -b`"
42:     alias ls='ls --color=auto'
43:     #alias dir='ls --color=auto --format=vertical'
44:     #alias vdir='ls --color=auto --format=long'
45: fi
46:
47: # some more ls aliases
48: alias ll='ls -ClhF'
49: alias la='ls -CahF'
50: alias lla='ls -CalhF'
51: alias l='ls -ChF'
52: alias l.='ls -CAhF --ignore=\*'
53: alias ll.='ls -CAlhF --ignore=\*'
54:
55: PS1=$'%{\e[0;33m%}%m %{\e[32;1m%}%~ %{\e[0;31m%}%#%{\e[m%} '
56:
57: bindkey '^[[3~' delete-char
58:
59: export PATH="$PATH:$HOME/WTK2.5.2/bin"
60: export MOZ_PLUGIN_PATH="/usr/lib/mozilla/plugins:/usr/lib/mozilla/plugins-wrapped:/usr/lib64/mozilla/plugins:/usr/lib64/mozilla/plugins-wrapped"
61: export GREP_OPTIONS="--color"
 
zshrc.txt · Last modified: 2009/12/15 04:49 (external edit)
 
RSS • 2012 © --polemon Powered by: