Linux‎ > ‎

.zshrc

zsh config example - .zshrc

HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
bindkey -e

zstyle :compinstall filename '/home/kr/.zshrc'

autoload -Uz compinit
compinit

export JAVA_HOME=/opt/jdk
export PATH=~/bin:~/sqlplus:/opt/jdk/bin:/opt/ant/bin:$PATH
export LD_LIBRARY_PATH=/home/opt/oraclient:/usr/lib:/usr/local/lib
export CLASSPATH=/opt/ant/lib:/opt/jdk/lib:.
PROMPT=[%T](%n@%m:%~)$\

# Change the window title of X terminals
print -Pn "\e]0;`hostname`\a"

case $TERM in
    xterm*)
        precmd () {print -Pn "\e]0;%n@%m: %~\a"}
        ;;
esac

# Aliases
alias ls='ls -b -CF --color=auto'


Comments