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

Re: cwd unintentionally changed



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



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