unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: James Thomas <jimjoe@gmx.net>
To: "KARR, DAVID" <dk068x@att.com>
Cc: "Help-gnu-emacs@gnu.org" <Help-gnu-emacs@gnu.org>
Subject: Re: In eshell, how to translate aliases that "eval" output from scripts
Date: Wed, 14 Aug 2024 07:45:13 +0530	[thread overview]
Message-ID: <86r0ar6ea6.fsf@gmx.net> (raw)
In-Reply-To: <DM3PR02MB10256EAB3C1CDBB036C3A74DC9DBB2@DM3PR02MB10256.namprd02.prod.outlook.com> (DAVID KARR's message of "Sat, 10 Aug 2024 21:16:24 +0000")

KARR, DAVID wrote:

> In my bash config, I have aliases whose value is like ". scriptname".
> These execute "scriptname", which is in the path, the output of which
> are "export" and other shell commands. This is a way of having a shell
> command implicitly set environment variables that are used by later
> command invocations. What's the proper way to translate this to
> eshell?

(info "(eshell) Scripts") defines the '.', (info "(eshell) List of
Built-ins") defines 'export', and then, of course, there's (info
"(eshell) Aliases"). No translation should be necessary, isn't it?

--



  parent reply	other threads:[~2024-08-14  2:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-10 21:16 In eshell, how to translate aliases that "eval" output from scripts KARR, DAVID
2024-08-10 22:26 ` tpeplt
2024-08-11  6:53   ` KARR, DAVID
2024-08-11 11:31 ` Joel Reicher
2024-08-11 23:48   ` Joel Reicher
2024-08-14  2:15 ` James Thomas [this message]
2024-08-14 11:00   ` Joel Reicher

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86r0ar6ea6.fsf@gmx.net \
    --to=jimjoe@gmx.net \
    --cc=Help-gnu-emacs@gnu.org \
    --cc=dk068x@att.com \
    /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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).