* eshell scripts?
@ 2009-09-03 15:53 Elena
2009-09-04 8:18 ` Elena
0 siblings, 1 reply; 3+ messages in thread
From: Elena @ 2009-09-03 15:53 UTC (permalink / raw
To: help-gnu-emacs
Hello,
does Eshell supports scripts? That is, is there a way to make a file
executable by Eshell, so that it can be run when inside Eshell? Both
on Linux and Windows?
Thanks
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: eshell scripts?
2009-09-03 15:53 eshell scripts? Elena
@ 2009-09-04 8:18 ` Elena
2009-09-05 4:49 ` Wang Lei
0 siblings, 1 reply; 3+ messages in thread
From: Elena @ 2009-09-04 8:18 UTC (permalink / raw
To: help-gnu-emacs
On 3 Set, 15:53, Elena <egarr...@gmail.com> wrote:
> Hello,
>
> does Eshell supports scripts? That is, is there a way to make a file
> executable by Eshell, so that it can be run when inside Eshell? Both
> on Linux and Windows?
>
> Thanks
I should have tried before asking!
Eshell understands that *.bat files are meant to be executed by
Windows' command interpreter.
I'll check what I get under Linux with a shell script.
Cheers.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: eshell scripts?
2009-09-04 8:18 ` Elena
@ 2009-09-05 4:49 ` Wang Lei
0 siblings, 0 replies; 3+ messages in thread
From: Wang Lei @ 2009-09-05 4:49 UTC (permalink / raw
To: Elena; +Cc: help-gnu-emacs
I think you could use elisp functions. Write your script into a file,
load it in .emacs. Then call it's function like this.
elisp$ (your-function)
On 9/4/09, Elena <egarrulo@gmail.com> wrote:
> On 3 Set, 15:53, Elena <egarr...@gmail.com> wrote:
>> Hello,
>>
>> does Eshell supports scripts? That is, is there a way to make a file
>> executable by Eshell, so that it can be run when inside Eshell? Both
>> on Linux and Windows?
>>
>> Thanks
>
> I should have tried before asking!
>
> Eshell understands that *.bat files are meant to be executed by
> Windows' command interpreter.
>
> I'll check what I get under Linux with a shell script.
>
> Cheers.
>
--
Regards
Lei
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-09-05 4:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-03 15:53 eshell scripts? Elena
2009-09-04 8:18 ` Elena
2009-09-05 4:49 ` Wang Lei
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.