You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rename hook environment variables to be shell agnostic
The environment variables used to pass state from the shell hooks to
EnvironmentCompletionContext were using names from BASH's completion system,
which were meaningless if you're not familiar with writing completion functions
for BASH. Since completion isn't limited to the BASH shell any more, I've
renamed these environment variables to make them more meaningful.
This shouldn't break any existing installations unless hooks have been generated
and copy-pasted into a script. To cover for this case, or an update mid-session,
this change includes a warning message if calling completion with COMP_LINE set.
Resolves#31
0 commit comments