Skip to content

command line args should be quoted in generated fish completion script #1933

@ryenus

Description

@ryenus

more specifically here in fish_completions.go:56:

set -l requestComp "%[10]s=0 $args[1] %[3]s $args[2..-1] $lastArg"

where the references $args[1], $args[2..-1] and $lastArg should have been quoted.

Downstream issue: mikefarah/yq#1502

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions