User:Collinjc
From RHLUG
[edit] Resource Files
File: .zshrc
#zshrc
export EDITOR="vim"
PROMPT=$'%(?..%{\e[41;38m%}%B-%?-%b%{\e[0m%} )%(1j.%{\e[01;33m%}[%j] .)%{\e[01;36m%}%n@%m%{\e[0m%} %{\e[01;32m%}%2~%{\e[0m%} %B%#%b ' #Left Prompt: exit status user@hostname directory %/#
RPROMPT=$'%{\e[01;31m%}[%!]%{\e[0m%}' #Right Prompt: line history number
# number of lines kept in history
export HISTSIZE=1000
# number of lines saved in the history after logout
export SAVEHIST=1000
# location of history
export HISTFILE=~/.zhistory
# append command to history file once executed
setopt inc_append_history
alias ls="ls --color=auto -h"
alias grep="grep --color"
alias ssh="ssh -X"

