Environment variable completion.
Complete names of variables in the process environment.
Return environment variables matching ‘text’.
Variable names are returned with a leading ‘$’ character. The search string may start with a ‘$’ character which is stripped before matching.