From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "dericbytes@gmail.com" Newsgroups: gmane.emacs.help Subject: Re: bashdb in emacs doesn't load PATH adjustment in .bash_profile or .bashrc Date: Fri, 6 Mar 2009 07:38:56 -0800 (PST) Organization: http://groups.google.com Message-ID: <8d7f5c96-7719-4823-a8dd-eb1d86578885@t3g2000yqa.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1236358700 13682 80.91.229.12 (6 Mar 2009 16:58:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Mar 2009 16:58:20 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 06 17:59:37 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 1LfdOY-0001Uo-Lt for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Mar 2009 17:59:34 +0100 Original-Received: from localhost ([127.0.0.1]:36300 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfdND-0004N1-ED for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Mar 2009 11:58:11 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!t3g2000yqa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: 82.10.67.62 Original-X-Trace: posting.google.com 1236353936 19821 127.0.0.1 (6 Mar 2009 15:38:56 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 6 Mar 2009 15:38:56 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: t3g2000yqa.googlegroups.com; posting-host=82.10.67.62; posting-account=lWCYjAoAAAD13Fx4x0JbFUmayOpl-DWA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 (.NET CLR 3.5.30729), gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:167390 X-Mailman-Approved-At: Fri, 06 Mar 2009 11:57:22 -0500 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:62690 Archived-At: On Mar 6, 3:00=A0pm, lehe wrote: > Hi, > I like to add my own executable's path to PATH. While .bashrc is a place = to > go, I need to run my bash script under bashdb in emacs, which does not > invoke a shell, so I always get the "command not found" error. I want to = add > the PATH adjustment in .bash_profile, but it's weird this file is not > invoked during login in Ubuntu. To make sure the .bash_profile is read wh= en > login, I enable the 'Run command as a login shell' option. This way in > typical shell session in emacs PATH is shown to be modified, however unde= r > bashdb in emacs PATH is still not including the executable path. Some way= to > fix this? Thanks! > -- > View this message in context:http://www.nabble.com/bashdb-in-emacs-doesn%= 27t-load-PATH-adjustment-... > Sent from the Emacs - Help mailing list archive at Nabble.com. Use setenv to set the PATH, use exec-path to tell emacs where to look for binary files (setenv "PATH" (concat (getenv "PATH") ";C:\\cygwin\\bin")) (setq exec-path (cons "C:/cygwin/bin" exec-path))