[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
*shell* could send bash a TAB y upon startup to get whole expansion list
From: |
Dan Jacobson |
Subject: |
*shell* could send bash a TAB y upon startup to get whole expansion list |
Date: |
20 Oct 2001 04:58:26 +0800 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Maybe it's not worth the trouble, but maybe *shell* should ask bash
somehow to dump all the alias, functions, and builtin names it knows
so *shell* can add them to the command name expansion list instead of
just items on the $PATH. Yes, instead of even parsing the .bashrc itself,
upon startup, the *shell* buffer could ask bash to dump the whole
table [the equivalent of the list one gets here:]
$ [TAB]
Display all 2744 possibilities? (y or n)y
Yes, indeed, thus *shell* wouldn't even have to know about what is on
$PATH, and just get everything from bash! In case bash doesn't have a
better way, just have *shell* send bash a "C-iy" and use the list
provided as the command line expansion list. [provided that SHELL=bash]
--
http://www.geocities.com/jidanni Tel+886-4-25854780
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- *shell* could send bash a TAB y upon startup to get whole expansion list,
Dan Jacobson <=