キモブロ

Please spy check please, Fucking retard

zshの件補足

b:id:mactkgさん
ブコメどうもです

https://github.com/git/git/blob/master/contrib/completion/git-completion.zsh
を使わないのはなぜだろう

なんか英語力が低いので俺がまちがってるかもですが、
一応、あの記事では↑で指摘していただいたURLのgit-completion.zshを使ってまして、
そのソースコードの上のほうに使い方がコメントで書いてあって、あの記事ではそのコメントの手順を1つずつ順番にやってみたみたいな感じです。
zsh で git コマンドのタブ補完してくれるやつの git 公式のやつのインストール方法 - キモブロ


該当部分コピペ

# You need git's bash completion script installed somewhere, by default on the
# same directory as this script.
#
# If your script is on ~/.git-completion.sh instead, you can configure it on
# your ~/.zshrc:
#
#  zstyle ':completion:*:*:git:*' script ~/.git-completion.sh
#
# The recommended way to install this script is to copy to
# '~/.zsh/completion/_git', and then add the following to your ~/.zshrc file:
#
#  fpath=(~/.zsh/completion $fpath)


英語力に自信ないのでアレですが


みたいな感じに書いてあると思ってやってみたみたいな記事でした。

しかし、なんだかやたら手順が時代に合わないレベルで複雑なので俺が誤読してるか、もっと良い方法があるかもしれません。