zsh-workers
 help / color / mirror / code / Atom feed
From: Geoff Wing <gcw@zsh.org>
To: Zsh Hackers <zsh-workers@sunsite.dk>
Subject: Re: exec -l
Date: Mon, 30 Apr 2007 12:33:18 +1000	[thread overview]
Message-ID: <20070430023318.GA1618@primenet.com.au> (raw)
In-Reply-To: <pdy98830624081fc25aec5f807f@[192.168.1.2]>

On Monday 2007-04-30 11:15 +1000, Dave Yost output:
:Why does zsh not have "exec -l" a la bash?

"PRECOMMAND MODIFIERS
-      The command is executed with a  `-' prepended to its argv[0] string."

% ssh -t someserver "cd $(pwd) && exec - \$0"

or

% ssh -t someserver "cd $(pwd) && ARGV0=-\$0 exec \$0"


  reply	other threads:[~2007-04-30  2:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-30  0:52 Dave Yost
2007-04-30  2:33 ` Geoff Wing [this message]
2007-04-30  2:48 ` Phil Pennock
2007-04-30  4:39 ` Bart Schaefer

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=20070430023318.GA1618@primenet.com.au \
    --to=gcw@zsh.org \
    --cc=zsh-workers@sunsite.dk \
    /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).