From: Ray Andrews <rayandrews@eastlink.ca>
To: zsh-users@zsh.org
Subject: Re: simple question regarding local variables
Date: Sat, 19 Sep 2015 11:21:09 -0700 [thread overview]
Message-ID: <55FDA795.5060709@eastlink.ca> (raw)
In-Reply-To: <150919093221.ZM28238@torch.brasslantern.com>
On 09/19/2015 09:32 AM, Bart Schaefer wrote:
> Actually this is a simple question about sourcing.
>
> On Sep 19, 9:23am, Ray Andrews wrote:
> }
> } sourcing I understand to create a child shell
>
> No, sourcing explicitly does NOT create a child shell; "source" *means*
> to execute the commands in the current shell. Running a script by its
> name without sourcing is what creates a child shell.
>
Of course. Pardon, I knew that at one time. Functions, sourced scripts
and executed scripts. Over the summer I forget half of what I learned the
previous year.
prev parent reply other threads:[~2015-09-19 18:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-18 6:34 Autoload vs regular function Sebastian Gniazdowski
2015-09-18 17:15 ` Bart Schaefer
2015-09-18 18:45 ` Ray Andrews
2015-09-18 21:53 ` Bart Schaefer
2015-09-19 16:23 ` simple question regarding local variables Ray Andrews
2015-09-19 16:32 ` Bart Schaefer
2015-09-19 18:21 ` Ray Andrews [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=55FDA795.5060709@eastlink.ca \
--to=rayandrews@eastlink.ca \
--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).