[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Why is TAB-completion in shell not working for some commands?
From: |
Marius Hofert |
Subject: |
Why is TAB-completion in shell not working for some commands? |
Date: |
Tue, 8 Nov 2011 20:34:39 +0100 |
Hi,
I have a strange problem with OS: Mac OS X 10.7.2 and Emacs: GNU Emacs
24.0.91.1.
If I open a shell with M-x shell, I can TAB-complete several commands, such as
ps2pdf and many others. However, I can't seem to TAB-complete all commands. One
exception is a2ps. I installed it, it works perfectly fine, I can TAB-complete
it from the Mac's terminal, however, I can't TAB-complete it from the shell
opened with M-x shell. The simple question is: Why?
Note that if I type "echo $PATH", I get:
a) from the Mac's terminal:
/Applications/Emacs.app/Contents/MacOS/:/Applications/Emacs.app/Contents/MacOS/bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/texbin:/opt/local/bin:/opt/local/sbin
b) from the emacs shell:
/Applications/Emacs.app/Contents/MacOS/:/Applications/Emacs.app/Contents/MacOS/bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/texbin:/opt/local/bin:/opt/local/sbin
=> exactly the same.
If I type "which a2ps" from the emacs shell, I get: /opt/local/bin/a2ps so the
correct place is found, but why is there no TAB-completion?
Cheers,
Marius
- Why is TAB-completion in shell not working for some commands?,
Marius Hofert <=
- Re: Why is TAB-completion in shell not working for some commands?, Andreas Röhler, 2011/11/09
- Re: Why is TAB-completion in shell not working for some commands?, Marius Hofert, 2011/11/09
- Re: Why is TAB-completion in shell not working for some commands?, Andreas Röhler, 2011/11/09
- Re: Why is TAB-completion in shell not working for some commands?, Marius Hofert, 2011/11/09
- Re: Why is TAB-completion in shell not working for some commands?, Andreas Röhler, 2011/11/09
- Re: Why is TAB-completion in shell not working for some commands?, Marius Hofert, 2011/11/09
- Re: Why is TAB-completion in shell not working for some commands?, Andreas Röhler, 2011/11/09
- Re: Why is TAB-completion in shell not working for some commands?, Marius Hofert, 2011/11/09
- Re: Why is TAB-completion in shell not working for some commands?, Marius Hofert, 2011/11/09
- Re: Why is TAB-completion in shell not working for some commands?, Andreas Röhler, 2011/11/09