zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: vogt@linux.vnet.ibm.com, zsh-users@zsh.org
Subject: Re: cd "" foo bug?
Date: Fri, 15 Jan 2016 11:34:49 -0800	[thread overview]
Message-ID: <160115113449.ZM2625@torch.brasslantern.com> (raw)
In-Reply-To: <20160115112915.GA31148@linux.vnet.ibm.com>

On Jan 15, 12:29pm, Dominik Vogt wrote:
}
} Any chance to at fix "--" so that
} 
}   cd -- -1
}   cd -- +1
}   cd -- -q
} 
} actually work?

That last one DOES work.  The -- option will prevent anything that looks
like an option from being interpreted as an option.  The only special
case is with digits after the +/-.

Changing that is messy because of the way bin_cd() is structured -- a
new flag would have to be passed to cd_get_dest() to tell it not to use
the directory stack, among other things.


      reply	other threads:[~2016-01-15 19:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-11 11:20 Dominik Vogt
2016-01-11 11:58 ` Peter Stephenson
2016-01-15  9:45   ` Dominik Vogt
2016-01-15 10:41     ` Peter Stephenson
2016-01-15 11:29       ` Dominik Vogt
2016-01-15 19:34         ` Bart Schaefer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=160115113449.ZM2625@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=vogt@linux.vnet.ibm.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).