From: Grant Taylor <gtaylor@tnetconsulting.net>
To: zsh-users@zsh.org
Subject: Re: How do you decide whether to make something a function or a script?
Date: Sat, 8 Sep 2018 20:51:00 -0600 [thread overview]
Message-ID: <a3f40cc3-a97b-0df4-c415-91e05228cf6d@spamtrap.tnetconsulting.net> (raw)
In-Reply-To: <1536459674.3644536.1501585440.2BF2B86D@webmail.messagingengine.com>
[-- Attachment #1: Type: text/plain, Size: 705 bytes --]
On 09/08/2018 08:21 PM, Daniel Shahaf wrote:
> The remote command in 'ssh myserver foo bar' indeed doesn't have access to
> functions or aliases, but it does go through a shell on the remote end.
> It simply uses a non-interactive shell. That's why changes to PATH in
> zshenv are honoured by ssh commands, and why functions aren't available
> (zshrc isn't read).
Okay.
There was a little doubt in my head when I wrote my reply, and there is
more doubt now.
I still thought there was a way to get ssh to remotely execute commands
/without/ invoking the shell. Maybe that's ssh sub-systems. They have
a different method of invoking them.
--
Grant. . . .
unix || die
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 3982 bytes --]
next prev parent reply other threads:[~2018-09-09 2:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-09 1:22 TJ Luoma
2018-09-09 1:55 ` Grant Taylor
2018-09-09 2:21 ` Daniel Shahaf
2018-09-09 2:51 ` Grant Taylor [this message]
2018-09-09 19:34 ` TJ Luoma
2018-09-09 22:54 ` Bart Schaefer
2018-09-09 3:24 ` 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=a3f40cc3-a97b-0df4-c415-91e05228cf6d@spamtrap.tnetconsulting.net \
--to=gtaylor@tnetconsulting.net \
--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).