dot/.zshrc

46 lines
585 B
Bash
Raw Normal View History

1996-07-14 20:57:01 +02:00
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'
1999-07-21 17:52:33 +02:00
alias ll='ls -lFh'
alias la='ls -alsF'
1995-07-27 10:20:11 +02:00
namedir(){
1997-07-19 15:40:36 +02:00
eval "$1=~+"
1995-07-27 10:20:11 +02:00
: ~$1
}
pd(){
if [[ $# = 0 ]]
then
pushd +1
else
pushd "$@"
fi
namedir `basename $PWD | tr -cd 'A-Za-z0-9_' | sed -e 's/^[0-9]/_&/'`
1995-07-27 10:20:11 +02:00
}
setenv(){
$1=$2
export $1
}
harden(){
cp -p "$1" .harden.$$ && mv .harden.$$ "$1"
}
cls() { clear; true }
source ~/.znewterm