From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ramestica@gmail.com Newsgroups: gmane.emacs.help Subject: tramp and how to source remote environment Date: Tue, 17 Feb 2009 17:17:04 -0800 (PST) Organization: http://groups.google.com Message-ID: <0d00b462-9d63-43d6-b54d-ea120d2fa50a@l39g2000yqn.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1234921253 8842 80.91.229.12 (18 Feb 2009 01:40:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Feb 2009 01:40:53 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 18 02:42:09 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LZbRo-000405-LR for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Feb 2009 02:42:00 +0100 Original-Received: from localhost ([127.0.0.1]:49011 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZbQU-00012Z-KM for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Feb 2009 20:40:38 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!l39g2000yqn.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: 76.104.20.168 Original-X-Trace: posting.google.com 1234919824 4564 127.0.0.1 (18 Feb 2009 01:17:04 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 18 Feb 2009 01:17:04 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l39g2000yqn.googlegroups.com; posting-host=76.104.20.168; posting-account=GyIV7QoAAACC7zm6nA92JhktCMy0igbg User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009012111 Red Hat/3.0.6-1.el5 Firefox/3.0.6, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:166861 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:62169 Archived-At: 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