all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Cannot run executable from eshell
@ 2020-03-19 14:18 Roy Lemmon
  2020-03-19 14:30 ` tomas
  0 siblings, 1 reply; 2+ messages in thread
From: Roy Lemmon @ 2020-03-19 14:18 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,


I have an executable (guix) in a directory under my home directory. I am
using eshell. I add that directory to PATH. But when I run the command, the
executable is not found. I have tried various methods such as addpath etc.
But eshell doesnt seem to search in that directory and find the executable.
If I give the full directory on the command line, it works.

See below:

$ /home/rlemmon/.guix-profile/bin/guix works correctly

$ guix does not work

$ echo $PATH $ /home/rlemmon/.guix-profile/bin:/home/rlemmon/bin:/ ...

$ addpath

/home/rlemmon/.guix-profile/bin/ /home/rlemmon/bin/ ...


All of this is done within eshell. I am confused as to what the problem
might be. Is there a standard way to set the directories where eshell looks
for executables ?


Note that I am using EXWM (under nixOS) and starting the eshell via a
command defined in my init file. Though the same situation exists if I
start it via M-x eshell.


Thanks

Roy.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-19 14:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-19 14:18 Cannot run executable from eshell Roy Lemmon
2020-03-19 14:30 ` tomas

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.