Recently moved to zsh, here's a part of my a current configuration (PATH, 
PKG_CONFIG_PATH, etc.. missing), maybe someone will find it useful.

What about you, OpenSolaris users, shows us some nice tips for your favourite 
shell :)

.zshrc
============================================================
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jpg=01;35:*.png=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.png=01;35:*.mpg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:"

autoload -Uz compinit
compinit

autoload -Uz colors
colors

setopt autocd extendedglob notify
zstyle :compinstall filename '/export/home/tau/.zshrc'
zstyle ':completion:*:*:*:*:processes' menu yes select
zstyle ':completion:*:*:*:*:processes' force-list always
zstyle ':completion:*' insert-unambiguous true
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
compdef pkill=kill

bindkey '^[[3~' delete-char

PROMPT='%B%F{green}%n%f%b:[%B%F{blue}%c%f%b] %# '

alias ls="ls --color=auto"
alias ll="ls --color=auto -l"
alias pg="ps -ef | grep" #requires an argument
alias un="tar -zxvf"
alias unj="tar -jxvf"
alias prst="prstat -a"
alias conf="./configure --prefix=/opt/own"
alias pkgupdate="pfexec pkg refresh --full && pfexec pkg image-update 
--no-refresh"
alias pkgextra="pkg list -a 'pkg://extra/*'"
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to