Thanks to visit codestin.com
Credit goes to github.com

Skip to content

complete the words that contain spaces #83

@sigoden

Description

@sigoden

Recently, I've been preparing to add tcsh support to argc and argc-completions.

complete argc 'p@*@`echo "$COMMAND_LINE'"''"'" | xargs argc --argc-compgen tcsh ""`@@';

argc --argc-compgen may generate words containing spaces, how to make it work?

Testing can be simplified as follows:

complete cmd 'p@*@`cat /tmp/file`@@'

The content of /tmp/file maybe:

Coldark-Cold
Monokai Extended
Solarized (dark)
Solarized (light)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions