help-gnu-emacs
[Top][All Lists]
Advanced

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

shell-command fails to execute shell function


From: ernest
Subject: shell-command fails to execute shell function
Date: Mon, 10 Jan 2011 06:40:21 -0800 (PST)
User-agent: G2/1.0

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


reply via email to

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