unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).