-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hi,
there's a bug in the autocompletion script for fish. When trying to autocomplete, it shows the following error:
(line 1): Unsupported use of '='. To run 'acs' with a modified environment, please use 'env ACS_ACTIVE_HELP=0 acs…'
begin; ACS_ACTIVE_HELP=0 acs __complete ap
^
from sourcing file -
called on line 61 of file /usr/share/fish/functions/eval.fish
in function “eval”
called on line 11 of file ~/.config/fish/completions/acs.fish
in command substitution
called on line 35 of file ~/.config/fish/completions/acs.fish
in function “__acs_perform_completion”
called on line 62 of file ~/.config/fish/completions/acs.fish
in command substitution
called on line 129 of file ~/.config/fish/completions/acs.fish
in function “__acs_prepare_completions”
called on standard input
in command substitution
called on standard input
As suggested, the env command can be used to fix it in line 22:
set -l requestComp "env ACS_ACTIVE_HELP=0 $args[1] __complete $args[2..-1] $lastArg"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels