bash-completion icon indicating copy to clipboard operation
bash-completion copied to clipboard

further ideas for _comp_variable_assignments completions

Open calestyo opened this issue 9 months ago • 1 comments

Describe the feature/solution

Hey.

Just a few ideas, what could be added for completion as part of _comp_variable_assignments():

  • LANGUAGE as used by GNU gettext (which makes it IMO fairly "standardised") AFAIU, this is not just a locale string as in LC_ALL or so but something like nb:no. See https://www.gnu.org/software/gettext/manual/html_node/The-LANGUAGE-variable.html#The-LANGUAGE-variable and according to https://superuser.com/a/392466 even more than two fields can be used like in fr:de:en.

  • PATH Directories not containing a : (I think this is separated by :. POSIX' definition of it can be found here: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html In particular, it's possible to have a zero-length prefix by either leading/trailing : or multiple adjacent :.

As said, these are just some ideas that might make sense - I don't have any strong need for this, so if you don't like the idea, just close it.

Thanks, Chris.

calestyo avatar Oct 04 '23 23:10 calestyo