Skip to content

file not found when executing ctags-query on Linux #2

@ghost

Description

Hi,
great tool, just what I need for my vimwiki workflow!
I know this hasn't been updated in a while, but in case you're interested or in case some other random user stumbles across this problem:

after installing following the instructions, executing :FzfTagQuery gives me the result file not found: /home/hans/.vim/plugged/vim-tagquery/bin/ctags-query. The file preview window shows zsh: file not found.

I'm on Linux/Ubuntu using zsh.

The error is a bit confusing, but I find indications on the web that when zsh says it can't find a binary that's there, it can have something to do with Nix.

Workaround

When I download the source for [ctags-query](https://github.com/matt-snider/ctags-query] and build the binary, using that binary (target/x86_64-unknown-linux-gnu/releases/ctags-query) produces a working :FzfTagQuery command in Vim.

Maybe something has changed in your build process to produce a non-portable binary? In any case, for those with Rust installed the workaround is fairly simple.

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