[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] Granular command completion
From: |
Chet Ramey |
Subject: |
Re: [Help-bash] Granular command completion |
Date: |
Tue, 27 Nov 2018 14:34:37 -0800 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 11/27/18 12:53 PM, Roman Bigler (Privat) wrote:
> Hello Bashers,
>
> this might be a feature request, hope I’m posting to the correct place. If
> not, feel free to point me to the right place.
>
> I’d like to customize bash’s command completion to _only_ include aliases.
You should be able to do this in bash-5.0 with the new `-I' (initial word)
option to `complete'. If you want to grab 5.0-beta2 from the bash-5.0-
testing branch or head from the devel branch you can try it out.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU address@hidden http://tiswww.cwru.edu/~chet/