head	2.0;
access;
symbols
	3_0_1:2.0
	3_0_0:2.0
	3_0-pre6:2.0
	3_0-pre5:2.0
	3_0-pre4:2.0
	beta15:1.16
	beta14:1.16
	beta13:1.16
	beta12:1.16
	beta11:1.16
	beta10:1.14
	3_0-pre3:2.0
	3_0-pre2:2.0
	3_0-pre1:2.0
	beta21:2.0
	beta20:2.0
	beta19:2.0
	beta18:2.0
	beta17:2.0
	beta16:2.0;
locks;
comment	@# @;


2.0
date	96.05.02.22.57.04;	author hzoli;	state Exp;
branches;
next	1.16;

1.16
date	95.08.16.04.21.55;	author coleman;	state Exp;
branches;
next	1.15;

1.15
date	95.07.12.00.03.16;	author coleman;	state Exp;
branches;
next	1.14;

1.14
date	95.04.19.02.23.47;	author coleman;	state Exp;
branches;
next	1.13;

1.13
date	95.03.20.11.22.26;	author coleman;	state Exp;
branches;
next	1.12;

1.12
date	95.03.18.03.48.20;	author coleman;	state Exp;
branches;
next	1.11;

1.11
date	95.03.18.02.38.55;	author coleman;	state Exp;
branches;
next	1.10;

1.10
date	95.03.16.23.12.37;	author coleman;	state Exp;
branches;
next	1.9;

1.9
date	95.03.16.20.02.39;	author coleman;	state Exp;
branches;
next	1.8;

1.8
date	95.03.02.05.13.01;	author coleman;	state Exp;
branches;
next	1.7;

1.7
date	95.03.02.04.54.48;	author coleman;	state Exp;
branches;
next	1.6;

1.6
date	95.03.01.06.38.17;	author coleman;	state Exp;
branches;
next	1.5;

1.5
date	95.02.03.01.24.53;	author coleman;	state Exp;
branches;
next	1.4;

1.4
date	95.02.03.01.15.56;	author coleman;	state Exp;
branches;
next	1.3;

1.3
date	95.02.01.02.58.18;	author coleman;	state Exp;
branches;
next	1.2;

1.2
date	95.02.01.02.51.27;	author coleman;	state Exp;
branches;
next	1.1;

1.1
date	94.10.24.05.07.03;	author zsh;	state Exp;
branches;
next	;


desc
@zshrc
@


2.0
log
@New maintainer: Zoltn Hidvgi <hzoli@@cs.elte.hu>
@
text
@#
# $Id: zshrc,v 1.16 1995/08/16 04:21:55 coleman Exp $
#
# Generic .zshrc file for zsh 2.7
#
# .zshrc is sourced in interactive shells.  It
# should contain commands to set up aliases, functions,
# options, key bindings, etc.
#

# Search path for the cd command
cdpath=(.. ~ ~/src ~/zsh)

# Use hard limits, except for a smaller stack and no core dumps
unlimit
limit stack 8192
limit core 0
limit -s

umask 022

# Set up aliases
alias mv='nocorrect mv'       # no spelling correction on mv
alias cp='nocorrect cp'       # no spelling correction on cp
alias mkdir='nocorrect mkdir' # no spelling correction on mkdir
alias j=jobs
alias pu=pushd
alias po=popd
alias d='dirs -v'
alias h=history
alias grep=egrep
alias ll='ls -l'
alias la='ls -a'

# List only directories and symbolic
# links that point to directories
alias lsd='ls -ld *(-/DN)'

# List only file beginning with "."
alias lsa='ls -ld .*'

# Shell functions
setenv() { export $1=$2 }  # csh compatibility

# Where to look for autoloaded function definitions
fpath=(~/.zfunc)

# Autoload all shell functions from all directories
# in $fpath that have the executable bit on
# (the executable bit is not necessary, but gives
# you an easy way to stop the autoloading of a
# particular shell function).
for dirname in $fpath
do
  autoload $dirname/*(.x:t)
done

# Global aliases -- These do not have to be
# at the beginning of the command line.
alias -g M='|more'
alias -g H='|head'
alias -g T='|tail'

manpath=($X11HOME/man /usr/man /usr/lang/man /usr/local/man)
export MANPATH

# Filename suffixes to ignore during completion
fignore=(.o .c~ .old .pro)

# Hosts to use for completion
hosts=(`hostname` ftp.math.gatech.edu prep.ai.mit.edu wuarchive.wustl.edu)

# Set prompts
PROMPT='%m%# '    # default prompt
RPROMPT=' %~'     # prompt for right side of screen

# Some environment variables
export MAIL=/var/spool/mail/$USERNAME
export LESS=-cex3M
export HELPDIR=/usr/local/lib/zsh/help  # directory for run-help function to find docs

MAILCHECK=300
HISTSIZE=200
DIRSTACKSIZE=20

# Watch for my friends
#watch=($(cat ~/.friends))      # watch for people in .friends file
watch=(notme)                   # watch for everybody but me
LOGCHECK=300                    # check every 5 min for login/logout activity
WATCHFMT='%n %a %l from %m at %t.'

# Set/unset  shell options
setopt   notify globdots correct pushdtohome cdablevars autolist
setopt   correctall autocd recexact longlistjobs
setopt   autoresume histignoredups pushdsilent noclobber
setopt   autopushd pushdminus extendedglob rcquotes mailwarning
unsetopt bgnice autoparamslash

# Setup some basic programmable completions.  To see more examples
# of these, check Misc/compctl-examples in the zsh distribution.
compctl -g '*(-/)' cd pushd
compctl -g '*(/)' rmdir dircmp
compctl -j -P % -x 's[-] p[1]' -k signals -- kill
compctl -j -P % fg bg wait jobs disown
compctl -A shift
compctl -caF type whence which
compctl -F unfunction
compctl -a unalias
compctl -v unset typeset declare vared readonly export integer
compctl -e disable
compctl -d enable

# Some nice key bindings
#bindkey '^X^Z' universal-argument ' ' magic-space
#bindkey '^X^A' vi-find-prev-char-skip
#bindkey '^Z' accept-and-hold
#bindkey -s '\M-/' \\\\
#bindkey -s '\M-=' \|

# bindkey -v             # vi key bindings

bindkey -e               # emacs key bindings
bindkey ' ' magic-space  # also do history expansino on space
@


1.16
log
@*** empty log message ***
@
text
@d2 1
a2 1
# $Id: zshrc,v 1.15 1995/07/12 00:03:16 coleman Exp coleman $
@


1.15
log
@changed lsd alias
@
text
@d2 1
a2 1
# $Id: zshrc,v 1.14 1995/04/19 02:23:47 coleman Exp coleman $
a97 2

unhash p
@


1.14
log
@*** empty log message ***
@
text
@d2 1
a2 1
# $Id: zshrc,v 1.13 1995/03/20 11:22:26 coleman Exp $
d37 1
a37 1
alias lsd='ls -ld *(-/)'
@


1.13
log
@*** empty log message ***
@
text
@d2 1
a2 1
# $Id: zshrc,v 1.12 1995/03/18 03:48:20 coleman Exp $
a78 3
export MAILCALL='NEW MAIL! '
export YOUSAID='In %C you wrote:'
export ATTRIBUTION='%f wrote:'
@


1.12
log
@*** empty log message ***
@
text
@d2 1
a2 1
# $Id: zshrc,v 1.11 1995/03/18 02:38:55 coleman Exp coleman $
d125 4
a128 2
bindkey -e       # emacs key bindings
# bindkey -v       # vi key bindings
@


1.11
log
@*** empty log message ***
@
text
@d2 1
a2 1
# $Id: zshrc,v 1.10 1995/03/16 23:12:37 coleman Exp $
d106 2
a107 1
compctl -g '*(/)' cd pushd rmdir dircmp
@


1.10
log
@*** empty log message ***
@
text
@d2 1
a2 1
# $Id: zshrc,v 1.9 1995/03/16 20:02:39 coleman Exp coleman $
d11 1
a11 1
# search path for the cd command
d14 1
a14 1
# use hard limits, except for a smaller stack and no core dumps
d22 1
a22 1
# set up aliases
d35 1
a35 1
# list only directories and symbolic
d39 1
a39 1
# list only file beginning with "."
d42 1
a42 1
# shell functions
d45 1
a45 1
# where to look for autoloaded function definitions
d48 1
a48 1
# autoload all shell functions from all directories
d58 1
a58 1
# global aliases -- These do not have to be
d67 1
a67 1
# filename suffixes to ignore during completion
d70 1
a70 1
# hosts to use for completion
d73 1
a73 1
# set prompts
d77 1
a77 1
# some environment variables
d89 1
a89 1
# watch for my friends
d95 1
a95 1
# set/unset  shell options
d104 14
a117 1
# some nice bindings
@


1.9
log
@*** empty log message ***
@
text
@d2 1
a2 1
# $Id$
d78 1
a78 1
export MAIL=/usr/spool/mail/$USERNAME
@


1.8
log
@*** empty log message ***
@
text
@d2 2
a5 3
# $Revision: 1.7 $
# $Date: 1995/03/02 04:54:48 $
#
d9 1
@


1.7
log
@*** empty log message ***
@
text
@d4 2
a5 2
# $Revision: 1.6 $
# $Date: 1995/03/01 06:38:17 $
d58 2
a59 2
# global aliases -- essentially textual replacement.  These
# don't have to be at the beginning of the command line
@


1.6
log
@*** empty log message ***
@
text
@d4 2
a5 2
# $Revision: 1.5 $
# $Date: 1995/02/03 01:24:53 $
d58 5
a62 2
# global aliases
#alias -g 'GF'='| fgrep -f ~/.friends' G='| grep' M='| less' cex='/u/pup/centrex'
@


1.5
log
@*** empty log message ***
@
text
@d4 2
a5 2
# $Revision: 1.4 $
# $Date: 1995/02/03 01:15:56 $
d12 1
a12 1
cdpath=(. .. ~ ~/src)
d42 3
d48 5
a52 7
# shell functions
setenv() { export $1=$2 }  # csh compatibility

# autoload all shell functions in $fpath that have
# the executable bit on (the executable bit is not
# necessary, but gives you an easy way to stop the
# autoloading of a particular shell function).
d55 1
a55 4
  for files in $dirname/*(.x:t)
  do
    autoload $files
  done
d68 1
a68 1
hosts=(`hostname` prep.ai.mit.edu wuarchive.wustl.edu gatekeeper.dec.com)
@


1.4
log
@*** empty log message ***
@
text
@d4 2
a5 2
# $Revision: 1.3 $
# $Date: 1995/02/01 02:58:18 $
a9 1
#
d42 3
a46 3

# where to look for function definitions
fpath=(~/.zfunc)
@


1.3
log
@*** empty log message ***
@
text
@d4 2
a5 2
# $Revision: 1.2 $
# $Date: 1995/02/01 02:51:27 $
a14 3
# where to look for function definitions
fpath=(~/.zfunc)

d35 7
a41 3
alias lsd='ls -al | egrep "^d"'  # list only directories
alias lsa='ls -ld .*'            # list only file beginning with "."
alias z=suspend
d46 14
a59 3
# bigger shell functions to autoload
autoload zed
autoload run-help
d67 1
a67 1
# filename completion suffixes to ignore
d89 6
a100 5

# watch for my friends
watch=($(cat ~/.friends))
WATCHFMT='%n %a %l from %m at %t.'
LOGCHECK=0
@


1.2
log
@*** empty log message ***
@
text
@d4 2
a5 2
# $Revision$
# $Date$
d27 3
a29 2
alias mv='nocorrect mv'    # no spelling correction on mv
alias cp='nocorrect cp'    # no spelling correction on cp
d38 2
d74 2
a75 2
HISTSIZE=300
DIRSTACKSIZE=30
d79 1
a79 1
setopt   sunkeyboardhack correctall autocd recexact longlistjobs
d82 1
a82 1
unsetopt bgnice
@


1.1
log
@Initial revision
@
text
@d2 4
a5 1
# Generic .zshrc file for zsh 2.6
@
