Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] Add option like tcsh's dextract



On Fri, Aug 4, 2023 at 9:47 AM Tim Eliseo <tre-zsh@xxxxxxxxxxxxxx> wrote:
>
> As my sample workaround script illustrates [...]
> achieving the original tcsh behavior
> without a builtin option is non-trivial.

# The chdir/cd builtin, with one argument in [+|-]n form and with
# the auto_pushd option set, has the desired stack extract behavior,

I believe Mikael's assertion is that the extra nontrivial checks in
your sample workaround are not needed?  Where are you observing (or
where is Mikael failing to observe) a difference?




Messages sorted by: Reverse Date, Date, Thread, Author