all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ramestica@gmail.com
To: help-gnu-emacs@gnu.org
Subject: Re: tramp and how to source remote environment
Date: Tue, 17 Feb 2009 17:43:37 -0800 (PST)	[thread overview]
Message-ID: <8704ba36-37be-4a6e-adc7-82be9b3e330f@f3g2000yqf.googlegroups.com> (raw)
In-Reply-To: 0d00b462-9d63-43d6-b54d-ea120d2fa50a@l39g2000yqn.googlegroups.com

ooops, I'm just realizing that my environment (.bashrc) is actually
sourced. What happens is that PATH is set to something unexpected
which I suppose is a tramp default somehow:

/bin:/usr/bin:/usr/sbin:/usr/local/bin

That is, all seems to be working as described in the manual. I just
need to find out why is that my PATH is ovrwritten by the content
shown above.

sorry for the noise,
 Rodrigo

On Feb 17, 8:17 pm, ramest...@gmail.com wrote:
> Hi,
>
> I use bash and, therefore, I have a rich .bashrc file that I share
> among the few machines I work in. This rc file takes care of
> identifying the machine and setting my environment accordingly.
>
> I'm trying to figure out whether is possible in tramp or not to always
> source my .bashrc file before attempting any command in the remote
> machine. Is that possible at all?
>
> I read the 'Remote shell setup hints' section in the manual, but it
> does not seem to work for me. I have a .bash_profile file that sources
> my .bashrc and I have no .profile in my home.
>
> Any hints on this?
>
> thanks,
>  Rodrigo
>
> tramp 2.1.15
> emacs 23.0.60



  reply	other threads:[~2009-02-18  1:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-18  1:17 tramp and how to source remote environment ramestica
2009-02-18  1:43 ` ramestica [this message]
2009-02-18 21:30   ` Michael Albinus
     [not found]   ` <mailman.1109.1234992614.31690.help-gnu-emacs@gnu.org>
2009-02-27  2:18     ` ramestica
2009-03-03 16:36       ` Michael Albinus
     [not found]       ` <mailman.2278.1236098043.31690.help-gnu-emacs@gnu.org>
2009-03-05  4:59         ` ramestica
2009-03-05 14:05           ` Michael Albinus
     [not found]           ` <mailman.2422.1236261821.31690.help-gnu-emacs@gnu.org>
2009-03-05 14:49             ` ramestica
2009-03-17 20:25               ` Michael Albinus

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

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

  git send-email \
    --in-reply-to=8704ba36-37be-4a6e-adc7-82be9b3e330f@f3g2000yqf.googlegroups.com \
    --to=ramestica@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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.