* Re: bashdb in emacs doesn't load PATH adjustment in .bash_profile or .bashrc
[not found] <mailman.2517.1236351633.31690.help-gnu-emacs@gnu.org>
@ 2009-03-06 15:38 ` dericbytes
0 siblings, 0 replies; 2+ messages in thread
From: dericbytes @ 2009-03-06 15:38 UTC (permalink / raw)
To: help-gnu-emacs
On Mar 6, 3:00 pm, lehe <timlee...@yahoo.com> 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: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))
^ permalink raw reply [flat|nested] 2+ messages in thread
* bashdb in emacs doesn't load PATH adjustment in .bash_profile or .bashrc
@ 2009-03-06 15:00 lehe
0 siblings, 0 replies; 2+ messages in thread
From: lehe @ 2009-03-06 15:00 UTC (permalink / raw)
To: Help-gnu-emacs
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: http://www.nabble.com/bashdb-in-emacs-doesn%27t-load-PATH-adjustment-in-.bash_profile-or-.bashrc-tp22374120p22374120.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-06 15:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.2517.1236351633.31690.help-gnu-emacs@gnu.org>
2009-03-06 15:38 ` bashdb in emacs doesn't load PATH adjustment in .bash_profile or .bashrc dericbytes
2009-03-06 15:00 lehe
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.