Q&A
実現したいこと
- dein.vimを使いたい
前提
neovimにプラグインマネージャーを入れたく、dein.vim導入したいです。
curl https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.sh > installer.sh
とした後
sh ./installer.sh ~/.config/nvim/dein
とコマンドを打つと
発生している問題・エラーメッセージ
./installer.sh: line 1: 404:: command not found
該当のソースコード
curl https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.sh > installer.sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 14 100 14 0 0 46 0 --:--:-- --:--:-- --:--:-- 47 sh ./installer.sh ~/.config/nvim/dein ./installer.sh: line 1: 404:: command not found
試したこと
zshからbashに変えてcurlから始めたが同じエラーだった。
.zshrc .bashrcにexport PATH=$HOME/.config/nvim/dein/installer.sh:$PATH
打って、pathを通してみたが同じエラーだった。
全く違う階層で
sh ./installer.sh ~/.config/nvim/dein
と実行すると、
sh: ./installer.sh: No such file or directory
とエラーが出る。
補足情報(FW/ツールのバージョンなど)
zsh 5.8.1
bash, version 3.2.57
下記のような回答は推奨されていません。
このような回答には修正を依頼しましょう。