[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bashdb in emacs doesn't load PATH adjustment in .bash_profile or .ba

From: address@hidden
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)
User-agent: G2/1.0

On Mar 6, 3:00 pm, lehe <address@hidden> 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 when
> 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 under
> bashdb in emacs PATH is still not including the executable path. Some way to
> fix this? Thanks!
> --
> View this message in 
> context:
> Sent from the Emacs - Help mailing list archive at

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))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]