which django-admin.py | vim
Vim: Warning: Input is not from a terminal
Vim: Error reading input, exiting...
Vim: Finished.
最简单的方法是什么? 并且实际上使vim打开“/usr/local/bin/django-admin.py
”
基本上,我想在我的个人博客http://wayneye.com/vim上托管自动安装的定制vim,您可以通过导航到它来查看shell脚本,它只包含以下命令:
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim \
curl -L -o ~/.vimrc https://raw.githubusercontent.com/WayneYe/WayneDevLab/master/wayne.vimrc \
vim +PluginInstall
当我运行curl http://wayneye.com/vim | sh命令时,我遇到了“终端未输入错误”,请问如何修复?
which django-admin.py | xargs -o vim
,它将在Vim编辑器中打开django-admin.py
的路径。 - Mark Simon