Skip to content

Tab completion does not handle spaces well #152

Description

@justinlovinger

If a file has spaces, tab completion does not escape the spaces or surround with quotes.

Additionally, if preview is enabled, fzf only shows files up to the first space. I believe this is related to with-nth=1. The preview also breaks when a file has a space. Up to the first space is passed as the first argument to __fzf_complete_preview, with everything after the first space passed as the 2nd, 3rd, etc. arguments.

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