umask 022 bindkey -v alias amke=make alias arm=/bin/rm alias a=alias alias h=history alias j=jobs alias v=vi alias lo=logout alias md=mkdir alias pop=popd alias rd=rmdir alias fixsz='set noglob; eval `resize`;unset noglob' alias ls='ls -F' alias ll='ls -lFh' alias la='ls -alsF' namedir(){ eval "$1=~+" : ~$1 } pd(){ if [[ $# = 0 ]] then pushd +1 else pushd "$@" fi namedir `basename $PWD | tr -cd 'A-Za-z0-9_' | sed -e 's/^[0-9]/_&/'` } setenv(){ $1=$2 export $1 } harden(){ cp -p "$1" .harden.$$ && mv .harden.$$ "$1" } cls() { clear; true } source ~/.znewterm