[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reasons for Switching to Eshell
From: |
Michael Albinus |
Subject: |
Re: Reasons for Switching to Eshell |
Date: |
Mon, 31 Mar 2008 10:13:15 +0200 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (hpux) |
"Mathias Dahl" <mathias.dahl@gmail.com> writes:
> Neat feature however. I don't understand how it can work, how can
> Tramp affect Eshell and who I am when running a certain program? Is
> there code in Eshell for this?
See eshell-external-command (in esh-ext.el). Eshell checks for a file
name handler of shell-command, depending on default-directory. If it
is found, that file name handler is called - tramp-handle-shell-command
in this case.
Your identity is always the one of default-directory. Btw, it works
also when you jump to a real remote host like "/ssh:user@host:".
The commands id and hostname might help you when you are lost. And
there is also the prompt, which shows default-directory by default.
Best regards, Michael.
- Re: Reasons for Switching to Eshell, (continued)
- Re: Reasons for Switching to Eshell, Will Parsons, 2008/03/29
- Re: Reasons for Switching to Eshell, Tim X, 2008/03/30
- Re: Reasons for Switching to Eshell, Pavol Murin, 2008/03/30
- Re: Reasons for Switching to Eshell, Mathias Dahl, 2008/03/30
- Re: Reasons for Switching to Eshell, Christian Herenz, 2008/03/31
- Re: Reasons for Switching to Eshell, Michael Albinus, 2008/03/31
Re: Reasons for Switching to Eshell, poppyer, 2008/03/30