* tramp. bash aliases
@ 2010-04-01 12:23 Pawel p
2010-04-01 15:02 ` Peter Dyballa
0 siblings, 1 reply; 5+ messages in thread
From: Pawel p @ 2010-04-01 12:23 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 218 bytes --]
Hallo Group Members.
Is it possible to create aliases in the way to be applied to each bash
session issued by tramp, just like it is done for environment variables and
tramp-remote-process-environment?
best regards.
[-- Attachment #2: Type: text/html, Size: 239 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: tramp. bash aliases
2010-04-01 12:23 tramp. bash aliases Pawel p
@ 2010-04-01 15:02 ` Peter Dyballa
2010-04-01 18:33 ` Pawel
0 siblings, 1 reply; 5+ messages in thread
From: Peter Dyballa @ 2010-04-01 15:02 UTC (permalink / raw)
To: Pawel p; +Cc: help-gnu-emacs
Am 01.04.2010 um 14:23 schrieb Pawel p:
> Is it possible to create aliases in the way to be applied to each bash
> session issued by tramp, just like it is done for environment
> variables and
> tramp-remote-process-environment?
Do you mean something like ~/.emacs_bash? This file, if it exists, is
executed when you start a shell in *shell* buffer. (Similarly RC files
exist for bash when you have a non-login non-interactive bash
session...)
Doesn't f1-f2 invoke the unix-manual command to read more of the
details? In the Emacs info file you'll find descriptions about the
initialisation of *shell* and similar buffers.
--
Greetings
Pete
Real Time, adj.:
Here and now, as opposed to fake time, which only occurs there and
then.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: tramp. bash aliases
2010-04-01 15:02 ` Peter Dyballa
@ 2010-04-01 18:33 ` Pawel
2010-04-01 20:17 ` Peter Dyballa
0 siblings, 1 reply; 5+ messages in thread
From: Pawel @ 2010-04-01 18:33 UTC (permalink / raw)
To: GNU emacs mailing list
Peter Dyballa <Peter_Dyballa@Web.DE> writes:
>
> Do you mean something like ~/.emacs_bash? This file, if it exists, is executed when you
> start a shell in *shell* buffer. (Similarly RC files exist for bash when you have a
> non-login non-interactive bash session...)
No. I mean "alias", for example my_ls='ls -l' that will be configured in
my local ~/.emacs and when I do M-x shell on remote machine, this alias
is able to be invoked on behalf of remote machine. Thus, only one configuration
on local site for many remote hosts.
best regards,
Pawel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: tramp. bash aliases
2010-04-01 18:33 ` Pawel
@ 2010-04-01 20:17 ` Peter Dyballa
2010-04-01 20:28 ` Pawel
0 siblings, 1 reply; 5+ messages in thread
From: Peter Dyballa @ 2010-04-01 20:17 UTC (permalink / raw)
To: Pawel; +Cc: GNU emacs mailing list
Am 01.04.2010 um 20:33 schrieb Pawel:
> No. I mean "alias", for example my_ls='ls -l' that will be
> configured in
> my local ~/.emacs and when I do M-x shell on remote machine, this
> alias
> is able to be invoked on behalf of remote machine. Thus, only one
> configuration
> on local site for many remote hosts.
Use NFS, AFS, Samba... One set of files on many (,many) hosts.
--
Greetings
Pete
I wouldn't recommend sex, drugs or insanity for everyone, but they've
always worked for me.
– Hunter S. Thompson
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-04-01 20:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-01 12:23 tramp. bash aliases Pawel p
2010-04-01 15:02 ` Peter Dyballa
2010-04-01 18:33 ` Pawel
2010-04-01 20:17 ` Peter Dyballa
2010-04-01 20:28 ` Pawel
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.