unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* alias not available
@ 2007-01-02 22:13 Kim Young
  2007-01-02 22:22 ` Peter Dyballa
  0 siblings, 1 reply; 3+ messages in thread
From: Kim Young @ 2007-01-02 22:13 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 426 bytes --]

hello,

I run Mac osx and am just starting to learn emacs. I am trying to  
figure out how to get emacs to "see" all the alias's and functions I  
have in my .bash_profile file. My alias's and functions work fine at  
the standard 'nix command line but as soon as I try to call one from  
a 'nix shell buffer, no joy. Any body got the magic incantation  
needed to fix this? Thanks in advance.


Kim Young
kimyoung@mac.com




[-- Attachment #1.2: Type: text/html, Size: 1271 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

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

* Re: alias not available
  2007-01-02 22:13 alias not available Kim Young
@ 2007-01-02 22:22 ` Peter Dyballa
  2007-01-03  1:20   ` Matthew Flaschen
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Dyballa @ 2007-01-02 22:22 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 02.01.2007 um 23:13 schrieb Kim Young:

> I am trying to figure out how to get emacs to "see" all the alias's  
> and functions I have in my .bash_profile file.

You could try

	. ~/.bash_profile

in ~/.emacs_bash. Create new *shell* buffer and try ...

--
Greetings

   Pete

When in doubt, use brute force.
                             -- Ken Thompson

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

* Re: alias not available
  2007-01-02 22:22 ` Peter Dyballa
@ 2007-01-03  1:20   ` Matthew Flaschen
  0 siblings, 0 replies; 3+ messages in thread
From: Matthew Flaschen @ 2007-01-03  1:20 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 600 bytes --]

Peter Dyballa wrote:
> 
> Am 02.01.2007 um 23:13 schrieb Kim Young:
> 
>> I am trying to figure out how to get emacs to "see" all the alias's
>> and functions I have in my .bash_profile file.
> 
> You could try
> 
>     . ~/.bash_profile
> 
> in ~/.emacs_bash. Create new *shell* buffer and try ...

Wait, how are you generating the shell buffers?  If you use M-x shell it
will use your regular bash shell.  My aliases are in .bashrc and they
get loaded by both bash and emacs (with M-x shell).  I would try moving
your aliases to .bashrc then using M-x shell.

Matthew Flaschen


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

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

end of thread, other threads:[~2007-01-03  1:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-02 22:13 alias not available Kim Young
2007-01-02 22:22 ` Peter Dyballa
2007-01-03  1:20   ` Matthew Flaschen

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).