[Top][All Lists]

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

Allow `read` to recognize custom completions

From: konsolebox
Subject: Allow `read` to recognize custom completions
Date: Sat, 22 May 2021 20:29:40 +0800

`read -e` doesn't recognize custom completions (at least on my basic
observations).  For example, if I enable `complete -IW 'someword
another-word'`, pressing tab on an empty input would do nothing.

I use `read -e` to query for subcommands.  It would be nice if I could
make it autocomplete the commands that are accepted.

Perhaps adding a shell option that enables this or another option to
read like -E would be sensible.


reply via email to

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