head	3.1;
branch	3.1.1;
access;
symbols;
locks;
comment	@# @;


3.1
date	96.10.30.23.41.13;	author hzoli;	state Exp;
branches
	3.1.0.0
	3.1.1.0;
next	3.0;

3.0
date	96.10.30.23.39.35;	author hzoli;	state Exp;
branches
	3.0.1.0;
next	;

3.0.1.0
date	96.10.30.23.40.21;	author hzoli;	state Exp;
branches;
next	3.0.1.1;

3.0.1.1
date	96.11.03.22.53.07;	author hzoli;	state Exp;
branches;
next	;

3.1.0.0
date	96.10.30.23.41.58;	author hzoli;	state Exp;
branches;
next	3.1.0.1;

3.1.0.1
date	96.11.03.22.53.01;	author hzoli;	state Exp;
branches;
next	;

3.1.1.0
date	96.12.21.02.35.24;	author hzoli;	state Exp;
branches;
next	;


desc
@Function emulationg old zsh pushd
@


3.1
log
@# branch point
@
text
@# pushd function to emulate the old zsh behaviour.  With this function
# pushd +/-n just lifts the selected element to the top of the stack
# instead of just cycling the stack.

setopt localoptions
emulate -R zsh

if [[ ARGC -eq 1 && "$1" == [+-]<-> ]] then
	setopt pushdignoredups
	builtin pushd ~$1
else
	builtin pushd "$@@"
fi
@


3.1.1.0
log
@#
@
text
@d5 1
a6 1
setopt localoptions
@


3.1.0.0
log
@# create 3.1.0 branch
@
text
@@


3.1.0.1
log
@setopt localoptions must come after emulate -R zsh
@
text
@d5 1
a6 1
setopt localoptions
@


3.0
log
@# bounce the revision numbers to 3.0
@
text
@@


3.0.1.0
log
@# create 3.0.1 branch
@
text
@@


3.0.1.1
log
@setopt localoptions must come after emulate -R zsh
@
text
@d5 1
a6 1
setopt localoptions
@
