我今天全新安装了 Ubuntu 20.04。 \n我已经设置了 vim 环境,当我遇到减速带时,它使用curl 安装了plug.vim。
\nError creating directory /home/simon/.vim/autoload.\ncurl: (23) Failed writing received data to disk/application\n
Run Code Online (Sandbox Code Playgroud)\n.vimrc 中的相关行是:
\n" Auto-install plugin manager if it doesnt exist (and PlugInstall)\nif empty(glob('~/.vim/autoload/plug.vim'))\n silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs\n \\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim\n autocmd VimEnter * PlugInstall | source $MYVIMRC\nendif\n
Run Code Online (Sandbox Code Playgroud)\n试图隔离问题,似乎我无法使用其中包含点文件的路径作为curl 的输出。
\n例如。这失败了:
\n\xe2\x9e\x9c ~ curl -fLo ~/.test_dot_folder/test.py --create-dirs example.com\n % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n 0 …
Run Code Online (Sandbox Code Playgroud)