* eshell: path, eshell: jump to prompt with C-a
@ 2003-03-25 12:38 Joerg Schuster
0 siblings, 0 replies; 5+ messages in thread
From: Joerg Schuster @ 2003-03-25 12:38 UTC (permalink / raw)
1) How can I make eshell behave like shell? Eshell seems to
ignore at least some of the statements in my .bashrc. Example: My
.bashrc contains the line
export PYTHONPATH=.:/usr/lib/python2.1:/mounts/Users/cisintern/js/Tls/Py
But unlike shell, eshell doesn't find the modules in ~/Tls/Py.
2) I would like to have the eshell jump to the prompt
(e.g. to this position: ~/Prd $ )
^
when typing C-a and not to the beginning of the line
(e.g. to this position ~/Prd $)
^
Jörg
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: eshell: path, eshell: jump to prompt with C-a
[not found] <mailman.3601.1048595908.21513.help-gnu-emacs@gnu.org>
@ 2003-03-25 13:41 ` Daniel Jensen
2003-04-11 10:25 ` Joerg Schuster
[not found] ` <mailman.4431.1050057299.21513.help-gnu-emacs@gnu.org>
2003-03-25 20:55 ` John Wiegley
1 sibling, 2 replies; 5+ messages in thread
From: Daniel Jensen @ 2003-03-25 13:41 UTC (permalink / raw)
Joerg Schuster <js@cis.uni-muenchen.de> writes:
> 1) How can I make eshell behave like shell? Eshell seems to
> ignore at least some of the statements in my .bashrc.
Eshell does not read your ~/.bashrc.
> Example: My .bashrc contains the line
> export PYTHONPATH=.:/usr/lib/python2.1:/mounts/Users/cisintern/js/Tls/Py
> But unlike shell, eshell doesn't find the modules in ~/Tls/Py.
There's a bash-like `export' command, if that's what you want.
> 2) I would like to have the eshell jump to the prompt
> when typing C-a and not to the beginning of the line
C-a is normally bound to beginning-of-line. You can use C-c C-a
(eshell-bol) instead, which is the dwim version.
--
Daniel Jensen
- (format (concat "mailto:" "%s@%s.%s") "daniel" "bigwalter" "net")
Swedish holiday today: Vårfrudagen
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: eshell: path, eshell: jump to prompt with C-a
[not found] <mailman.3601.1048595908.21513.help-gnu-emacs@gnu.org>
2003-03-25 13:41 ` eshell: path, eshell: jump to prompt with C-a Daniel Jensen
@ 2003-03-25 20:55 ` John Wiegley
1 sibling, 0 replies; 5+ messages in thread
From: John Wiegley @ 2003-03-25 20:55 UTC (permalink / raw)
Joerg Schuster <js@cis.uni-muenchen.de> writes:
> 1) How can I make eshell behave like shell?
Use `M-x customize-option' to change the value of
`eshell-modules-list'. Then, enable `eshell-rebind'. Then the
prompt will start behaving very much like bash.
To toggle this special prompt handling once you've enabled
eshell-rebind, use C-c M-l.
John
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: eshell: path, eshell: jump to prompt with C-a
2003-03-25 13:41 ` eshell: path, eshell: jump to prompt with C-a Daniel Jensen
@ 2003-04-11 10:25 ` Joerg Schuster
[not found] ` <mailman.4431.1050057299.21513.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 5+ messages in thread
From: Joerg Schuster @ 2003-04-11 10:25 UTC (permalink / raw)
Cc: help-gnu-emacs
> There's a bash-like `export' command, if that's what you want.
That sounds interesting. Where do I have to write such commands? Which
is their syntax? Could you give me an example?
Thanks,
Jörg
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: eshell: path, eshell: jump to prompt with C-a
[not found] ` <mailman.4431.1050057299.21513.help-gnu-emacs@gnu.org>
@ 2003-04-11 10:42 ` John Wiegley
0 siblings, 0 replies; 5+ messages in thread
From: John Wiegley @ 2003-04-11 10:42 UTC (permalink / raw)
>>>>> On Fri Apr 11, Joerg writes:
>> There's a bash-like `export' command, if that's what you want.
> That sounds interesting. Where do I have to write such commands?
> Which is their syntax? Could you give me an example?
export VAR=value
You can set them in .eshell/login if you like.
John
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-04-11 10:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.3601.1048595908.21513.help-gnu-emacs@gnu.org>
2003-03-25 13:41 ` eshell: path, eshell: jump to prompt with C-a Daniel Jensen
2003-04-11 10:25 ` Joerg Schuster
[not found] ` <mailman.4431.1050057299.21513.help-gnu-emacs@gnu.org>
2003-04-11 10:42 ` John Wiegley
2003-03-25 20:55 ` John Wiegley
2003-03-25 12:38 Joerg Schuster
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).