zsh-workers
 help / color / mirror / code / Atom feed
From: Roman Perepelitsa <roman.perepelitsa@gmail.com>
To: Julian Prein <druckdev@protonmail.com>
Cc: "zsh-workers@zsh.org" <zsh-workers@zsh.org>
Subject: Re: [PATCH] cd: Append 2nd argument to CWD if 1st is empty
Date: Fri, 1 Dec 2023 10:21:36 +0100	[thread overview]
Message-ID: <CAN=4vMrnmJuZ75bgcT94tah8cUDEG6V2fZh=U_u50wdG=TsPxg@mail.gmail.com> (raw)
In-Reply-To: <IZyXHgegIr8a18HfmW1WE7S2UYguBiREgTX0rv0u4WXrJO92IhaP9PVRDvoiEan85dZZL6Gvi4dQeSAgTAiFWitlFReFgse2lMJvCDcsbZM=@protonmail.com>

On Fri, Dec 1, 2023 at 4:12 AM Julian Prein <druckdev@protonmail.com> wrote:
>
> Currently when old is empty, cd will prepend new to the name of the
> current directory. As this has very limited use cases (e.g.
> `cd '' /proc` when in `/sys/...`), change the behaviour of cd to
> **append** new instead.

What is the use case of the new behavior?

Roman.


  reply	other threads:[~2023-12-01  9:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-01  3:11 Julian Prein
2023-12-01  9:21 ` Roman Perepelitsa [this message]
2023-12-01 13:32   ` Julian Prein
2023-12-01 13:51     ` Mikael Magnusson
2023-12-01 15:05       ` Julian Prein
2023-12-01 18:21     ` Lawrence Velázquez
2023-12-01 18:27       ` Roman Perepelitsa

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='CAN=4vMrnmJuZ75bgcT94tah8cUDEG6V2fZh=U_u50wdG=TsPxg@mail.gmail.com' \
    --to=roman.perepelitsa@gmail.com \
    --cc=druckdev@protonmail.com \
    --cc=zsh-workers@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).