all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* shell-command fails to execute shell function
@ 2011-01-10 14:40 ernest
  2011-01-10 21:59 ` Steven W. Orr
       [not found] ` <mailman.1.1294696768.5286.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: ernest @ 2011-01-10 14:40 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,
I have a shell function defined in ~/.bashrc.
When I try to run the function with shell-command, it fails with:
/bin/bash: fm: command not found
"fm" being the function's name.
I suppose I could precede every command with "source ~/.bashr"
but I'm sure there must be something more appropriate.
Any comment welcome.
Ernest


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

end of thread, other threads:[~2011-01-11 15:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-10 14:40 shell-command fails to execute shell function ernest
2011-01-10 21:59 ` Steven W. Orr
2011-01-10 22:11   ` Peter Dyballa
     [not found] ` <mailman.1.1294696768.5286.help-gnu-emacs@gnu.org>
2011-01-11 15:47   ` ernest

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.