Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aura complete has too many arguments #7865

Closed
Nicholas-Baron opened this issue Mar 26, 2021 · 0 comments
Closed

Aura complete has too many arguments #7865

Nicholas-Baron opened this issue Mar 26, 2021 · 0 comments
Labels
bug Something that's not working as intended
Milestone

Comments

@Nicholas-Baron
Copy link

Nicholas-Baron commented Mar 26, 2021

Steps to reproduce:

  1. Open a fresh session of fish.
  2. Type sudo aura
  3. Press tab for auto-complete
complete: Too many arguments

/usr/share/fish/completions/aura.fish (line 91):
complete -c aura -n $$condition -s a -l delmakedeps -d 'Remove packages only needed during installation'
^
from sourcing file /usr/share/fish/completions/aura.fish
called on line 1 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in command substitution
called on line 1 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in command substitution
called on line 47 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in function '__fish_complete_subcommand' with arguments '--commandline aura ""'
called on line 37 of file /usr/share/fish/completions/sudo.fish
in function '__fish_complete_sudo_subcommand'
in command substitution

(Type 'help complete' for related documentation)
complete: Too many arguments

/usr/share/fish/completions/aura.fish (line 92):
complete -c aura -n $$condition -s d -l deps -d 'View package dependencies'
^
from sourcing file /usr/share/fish/completions/aura.fish
called on line 1 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in command substitution
called on line 1 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in command substitution
called on line 47 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in function '__fish_complete_subcommand' with arguments '--commandline aura ""'
called on line 37 of file /usr/share/fish/completions/sudo.fish
in function '__fish_complete_sudo_subcommand'
in command substitution

(Type 'help complete' for related documentation)
complete: Too many arguments

/usr/share/fish/completions/aura.fish (line 93):
complete -c aura -n $$condition -s i -l info -d 'View package information'
^
from sourcing file /usr/share/fish/completions/aura.fish
called on line 1 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in command substitution
called on line 1 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in command substitution
called on line 47 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in function '__fish_complete_subcommand' with arguments '--commandline aura ""'
called on line 37 of file /usr/share/fish/completions/sudo.fish
in function '__fish_complete_sudo_subcommand'
in command substitution

(Type 'help complete' for related documentation)
complete: Too many arguments

/usr/share/fish/completions/aura.fish (line 94):
complete -c aura -n $$condition -s k -l diff -d 'Show PKGBUILD diffs'
^
from sourcing file /usr/share/fish/completions/aura.fish
called on line 1 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in command substitution
called on line 1 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in command substitution
called on line 47 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in function '__fish_complete_subcommand' with arguments '--commandline aura ""'
called on line 37 of file /usr/share/fish/completions/sudo.fish
in function '__fish_complete_sudo_subcommand'
in command substitution

(Type 'help complete' for related documentation)
complete: Too many arguments

/usr/share/fish/completions/aura.fish (line 95):
complete -c aura -n $$condition -s p -l pkgbuild -d 'View the packages's PKGBUILD'
^
from sourcing file /usr/share/fish/completions/aura.fish
called on line 1 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in command substitution
called on line 1 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in command substitution
called on line 47 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in function '__fish_complete_subcommand' with arguments '--commandline aura ""'
called on line 37 of file /usr/share/fish/completions/sudo.fish
in function '__fish_complete_sudo_subcommand'
in command substitution

(Type 'help complete' for related documentation)
complete: Too many arguments

/usr/share/fish/completions/aura.fish (line 96):
complete -c aura -n $$condition -s x -l unsuppress -d 'Show makepkg output'
^
from sourcing file /usr/share/fish/completions/aura.fish
called on line 1 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in command substitution
called on line 1 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in command substitution
called on line 47 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in function '__fish_complete_subcommand' with arguments '--commandline aura ""'
called on line 37 of file /usr/share/fish/completions/sudo.fish
in function '__fish_complete_sudo_subcommand'
in command substitution

(Type 'help complete' for related documentation)
complete: Too many arguments

/usr/share/fish/completions/aura.fish (line 97):
complete -c aura -n $$condition -l absdeps -d 'Build dependencies from ABS'
^
from sourcing file /usr/share/fish/completions/aura.fish
called on line 1 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in command substitution
called on line 1 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in command substitution
called on line 47 of file /usr/share/fish/functions/__fish_complete_subcommand.fish
in function '__fish_complete_subcommand' with arguments '--commandline aura ""'
called on line 37 of file /usr/share/fish/completions/sudo.fish
in function '__fish_complete_sudo_subcommand'
in command substitution

(Type 'help complete' for related documentation)

Setup

$ fish --version
fish, version 3.2.1
$ echo $version
3.2.1

OS: Linux
Distro: Arch
Terminal: alacritty

@krobelus krobelus added the bug Something that's not working as intended label Mar 26, 2021
@krobelus krobelus added this to the fish 3.3.0 milestone Mar 26, 2021
@zanchey zanchey modified the milestones: fish 3.3.0, fish 3.2.2 Apr 1, 2021
zanchey pushed a commit that referenced this issue Apr 1, 2021
Commit a0b46e6 ("Update Aura completions") removed "abs", but forgot
it here.

Fixes #7865

(cherry picked from commit dc417f5)
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something that's not working as intended
Projects
None yet
Development

No branches or pull requests

3 participants