From: Peter Stephenson <p.stephenson@samsung.com>
To: <zsh-workers@zsh.org>
Subject: Re: cwd unintentionally changed
Date: Fri, 26 Apr 2019 09:30:55 +0100 [thread overview]
Message-ID: <1556267455.4952.2.camel@samsung.com> (raw)
In-Reply-To: <9fee73bf-35c5-1d2c-da00-cfe097764730@ibr.cs.tu-bs.de>
On Fri, 2019-04-26 at 08:12 +0200, Yannic Schröder wrote:
> I applied the provided patch and indeed it stops cwd from changing.
>
> I loaded a zshrc that uses vcs_info and it now prints
>
> VCS_INFO_bydir_detect:9: Failed to get current directory: path invalid
>
> with every new prompt after the umount (which might be confusing for
> users). However, cwd stays intact.
>
> I could live with this solution (maybe suppress the error in vcs_info).
Having an umount as part of the process is something of a special case:
ideally any workaround would be at that point.
pws
prev parent reply other threads:[~2019-04-26 8:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20190425120502epcas5p21b83b94136e0b2fae1002220c7d52656@epcas5p2.samsung.com>
2019-04-25 12:03 ` Yannic Schröder
2019-04-25 13:31 ` Peter Stephenson
2019-04-26 6:12 ` Yannic Schröder
2019-04-26 8:30 ` Peter Stephenson [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=1556267455.4952.2.camel@samsung.com \
--to=p.stephenson@samsung.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).