こんにちは、ナナオです。

小ネタです。

最近、chezmoiを導入したことで.zshrcを普段開発に使っているデスクトップとノートで共有して使えるようになったのですが、ノートの方で以下のような問題が発生しました。

znap: unknown command: install

znapのinstallコマンドが見つからない??

なんだこれ?と思ってznapコマンドを叩いてみたのですが、確かにinstallコマンドがない!!

❯ znap
Usage: znap <command> [ <argument> ... ]

Commands:
  clean      remove outdated .zwc binaries
  clone      download repos in parallel
  compile    compile zsh scripts and functions
  eval       cache & eval output of command
  fpath      install command output as a function
  function   create a set of lazy-loading functions
  help       print help text for command
  ignore     add local exclude patterns to repo
  multi      run tasks in parallel
  prompt     instant prompt from repo
  pull       update repos in parallel
  restart    (DEPRECATED) validate dotfiles & safely restart Zsh
  source     load plugins
  status     fetch updates & show git status

For more info on a command, type `znap help <command>`.

調べてみると、現在のコミットからはごっそりインストールコマンドが抜けていました。

Remove `install` & `uninstall` commands · marlonrichert/zsh-snap@2c19e0b · GitHub

必要なくなったってどういうことや…?

と思って調べたんですが、おそらくsourceコマンドに集約したということなんでしょうね。(雑)

なんせここ半年はもうメンテナンスもされていないリポジトリということで、そろそろ潮時かもしれません。。