Oh My Zshでzsh-abbrをインストールする方法

published@2026-03-11

公式ドキュメントのインストール手順にOh My Zshへの具体的な手順が載ってなかったので備忘録

インストール手順

まず以下のコマンドを実行して、GitHubからソースをcloneしてきます

> git clone --recurse-submodules https://github.com/olets/zsh-abbr.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-abbr

ここでrecurse-submodules

cloneが終わったら、.zshrcのpluginsにzsh-abbrを追加して再起動します

.zshrc
plugins=(
    ...
    zsh-abbr
)

これにて完成

スポンサーリンク