zsh-users
 help / color / mirror / code / Atom feed
From: "Peter A. Castro" <doctor@fruitbat.org>
To: Reckoner <reckoner@gmail.com>
Cc: zsh-users@zsh.org
Subject: Re: cygwin chere not working with zsh version 4.3.10 but worked for 4.3.9
Date: Thu, 2 Sep 2010 12:50:15 -0700 (PDT)	[thread overview]
Message-ID: <alpine.LNX.2.00.1009021230450.3460@gremlin.fruitbat.org> (raw)
In-Reply-To: <AANLkTi=YK1nSCnVToHe-E9RUccu+WCMvp46-B6CdK7sE@mail.gmail.com>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1566 bytes --]

On Wed, 1 Sep 2010, Reckoner wrote:

> Hi,

Greetings, Reckoner,

> This command line from cygwin chere is not working anymore for zsh version
> 4.3.10, but it worked for zsh version 4.3.9:
>
>   C:\cygwin\bin\run.exe C:\cygwin\bin\rxvt.exe -e /bin/xhere /bin/zsh.exe "%L"
>
> This is supposed to open a new zsh at the directory provided by the %L
> variable. With version 4.3.10, it opens a shell, but leaves you in
> $HOME instead of %L

Hmm.  I don't recall there being anything specific with reguards to
cd'ing to $HOME on startup in 4.3.10.  The sample startup profile,
/etc/zprofile, (source is at
/usr/share/doc/zsh-4.3.10/StartupFiles/etc/zprofile) was updated to be in
sync with /etc/profile from the base-files package, though those changes
weren't all that effective (spaces, tabs, comments, etc).  In
/etc/zprofile we look for an env var named CHERE_INVOKING and either
unset it or do "cd $HOME":

# Make sure we start in home unless invoked by CHERE
if [ ! -z "${CHERE_INVOKING}" ]; then
         unset CHERE_INVOKING
else
         cd "${HOME}"
fi

So, clearly, this should be working in tandum with chere.  You might want
to try commenting out the above block and see if it does what you want.
If so, it may be that chere has changed how "CHERE_INVOKING" is being set
into the environment or, maybe the name changed, or perhaps something
related to that.

I'll install chere and see what I can find out.

> any help appreciated.

-- 
Peter A. Castro <doctor@fruitbat.org> or <Peter.Castro@oracle.com>
 	"Cats are just autistic Dogs" -- Dr. Tony Attwood

  reply	other threads:[~2010-09-02 19:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-01 20:52 Reckoner
2010-09-02 19:50 ` Peter A. Castro [this message]
2010-09-02 21:14   ` Benjamin R. Haskell
2010-09-02 21:18     ` Benjamin R. Haskell
2010-09-02 21:19       ` reckoner
2010-09-07 13:29     ` reckoner
2010-09-07 18:04       ` Peter A. Castro
2010-09-07 18:59         ` Benjamin R. Haskell
2010-09-08 13:01           ` reckoner

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=alpine.LNX.2.00.1009021230450.3460@gremlin.fruitbat.org \
    --to=doctor@fruitbat.org \
    --cc=reckoner@gmail.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).