#! /bin/sh
#
# .zshrc: 

# gosling specific (commented out 19.7.97 JL)
#if test -x /usr/people/nardi/bin/SGI5/zsh ; then
#    if test "$SHELL" = "/usr/pub/bin/zsh" ; then
#	SHELL=/usr/people/nardi/bin/SGI5/zsh
#	exec $SHELL -l
#    fi
#fi

# Create NO core files:
limit coredumpsize 0

# remove og write permition
umask 022

#PROMPT='%l %T %m[%h] '
#RPROMPT=' %~'
PROMPT='%m|%B%~%b> '  

#setopt	mail_warning notify
# notify immediatly completion of bg job
setopt	long_list_jobs auto_resume
setopt	glob_dots
setopt	auto_pushd pushd_ignore_dups pushd_minus

# pushd stuff
setopt	pushd_silent pushd_to_home auto_cd 
setopt	auto_list auto_menu 
unsetopt	rec_exact # do not put a blank if match

# history stuff:
setopt	hist_ignore_dups extended_history append_history 

setopt	no_clobber 

# redirection file
setopt	extended_glob

# '' is ' in 'quoted character'
setopt	rc_quotes 
setopt	list_ambiguous list_types

#my shell never beeps...
setopt NO_BEEP
unsetopt beep

#forces the user to type exit or logout instead of pressing ^D:
# setopt IGNOREEOF

#do not rune nice on background jobs:
unsetopt bg_nice

#don't kill jobs after logging out:
setopt NO_HUP
#always list alternatives during completion
setopt AUTO_LIST
# also complete in words (next to cursor)
setopt COMPLETE_IN_WORD


#compctl -c man run-help nohup where which
#compctl -g '*(-/)' cd
compctl -g '*(/)' rmdir


#########################################################################
#									#
# 			End of default section 				#
#									#
#########################################################################

# Include your personal aliases:
if test -e "$HOME/.zshaliases" ; then
	source $HOME/.zshaliases
fi
# if test -e "$HOME/.zshenv" ; then
# 	source $HOME/.zshenv
# fi

