Skip to content

[BUG]msys2 path problem #573

@hour-keeper

Description

@hour-keeper

Describe the bug

It seems to be a different issue from the ones with #530 and #241 , and it appears to work fine within tmux.
Perhaps using a command equivalent to MSYS_NO_PATHCONV=1 fzf --expect=/ within the plugin might resolve this issue.

I can make sure:

  • I am using the latest version of fzf-tab
  • this is the minimal zshrc which can reproduce this bug
  • fzf-tab is loaded after compinit
  • fzf-tab is loaded after plugins which will wrap Tab, like junegunn/fzf/completion.zsh
  • fzf-tab is loaded before zsh-autosuggestions, zsh-syntax-highlighting and fast-syntax-highlighting.

To Reproduce

Steps to reproduce the behavior:

  1. Press Tab
  2. See error unsupported key: C:/msys64/

Expected behavior

Successfully expanded.

Screenshots

Image

Environment:

  • OS: Windows
  • zsh version: 5.9 (MSYS2 version)
  • Without tmux

Minimal zshrc

autoload -U compinit; compinit
source ~/fzf-tab/fzf-tab.plugin.zsh

Log

If applicable, use C-x . to trigger completion and provide the log.

If there are only three lines in your log, please make sure your fzf-tab is loaded with the correct order (see the checklist above).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions