【问题标题】:neovim installation via asdf -- reshim issues通过 asdf 安装 neovim -- reshim 问题
【发布时间】:2022-01-18 07:47:29
【问题描述】:
➜ asdf which neovim
unknown command: neovim. Perhaps you have to reshim?
➜ asdf current neovim
neovim          ref:master      /Users/abhishektripathi/.tool-versions
➜ asdf reshim neovim
➜ asdf which neovim
unknown command: neovim. Perhaps you have to reshim?
➜ nvim
zsh: command not found: nvim

我通过 asdf 安装了 neovim,但找不到 neovim。 这是我的终端的输出。这对我来说很奇怪。

有什么线索吗?

编辑:使用 MacOS、ZSH、tmux。 asdf 是通过 brew 安装的。

【问题讨论】:

    标签: neovim asdf


    【解决方案1】:

    正确的命令是:asdf which nvim

    【讨论】:

    • ``` ➜ ~ asdf 其中 nvim 未知命令:nvim。也许你必须重新调整? ➜ ~ asdf reshim nvim 没有这样的插件:nvim```
    • 您的问题是“任何线索?”。希望这可以帮助您解决问题:)
    • 是的。你的评论确实有帮助。这让我对我的安装感到好奇,并且在全新安装后它可以工作。谢谢!
    【解决方案2】:

    仅用于存档目的,

    我通过删除并重新安装了 neovim

    asdf uninstall neovim ref:master

    asdf install neovim ref:master

    这对我有用。

    【讨论】:

      猜你喜欢
      • 2022-01-04
      • 2019-03-25
      • 1970-01-01
      • 2016-10-14
      • 2021-04-15
      • 2018-07-30
      • 2020-10-03
      • 1970-01-01
      • 2021-11-23
      相关资源
      最近更新 更多