Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when tying to install as root #278

Closed
dunatotatos opened this issue Jan 8, 2017 · 2 comments
Closed

Error when tying to install as root #278

dunatotatos opened this issue Jan 8, 2017 · 2 comments

Comments

@dunatotatos
Copy link

dunatotatos commented Jan 8, 2017

I wanted to install the vim configuration (awesome version) to be system wide (ie : in /etc/vim).
I did a clone in the associated directory :

git clone https://github.com/amix/vimrc.git /etc/vim/vim_runtime

Then ran install_awesome_vimrc.sh

$ sh install_awesome_vimrc.sh 
install_awesome_vimrc.sh: 1: cd: can't cd to /root/.vim_runtime
Installed the Ultimate Vim configuration successfully! Enjoy :-)

While I can understand the origin of the error, I think "Installed the Ultimate Vim configuration successfully! Enjoy :-)" shouldn't be displayed if the installation wasn't successful.

I propose two improvements :

  • remove this message when the installation is not successful
  • allow a system-wide installation in /etc/vim
@amix amix closed this as completed in e4af725 Apr 1, 2017
@amix
Copy link
Owner

amix commented Apr 1, 2017

Fixed remove this message when the installation is not successful.

I am unsure about /etc/vim

@amix amix reopened this Apr 1, 2017
@amix amix closed this as completed Apr 1, 2017
@Seliniux777
Copy link

'master' of https://github.com/amix/vimrc: (35 commits) Updated plugins Fixed a conflict between yankstack and surround Fixed amix#321 Fixed amix#325 Fixed https://github.com/tpope/tpope-vim-abolish Updated plugins Updated vim plugins Speed up download ~4x Updated plugins and added vim-abolish Allow to install custom plugins Updated plugins Fixed amix#246 Fixed amix#263 Updated screenshots Updated the readme (a cleanup) Updated the logo Fixed amix#278 Fixed amix#279 Updated vim plugins Removed ack.vim ...

@Seliniux777 Seliniux777 mentioned this issue Mar 14, 2018
its-dron pushed a commit to its-dron/vimrc that referenced this issue Sep 28, 2018
joemcmahon pushed a commit to joemcmahon/vimrc that referenced this issue Dec 5, 2018
agnyp pushed a commit to agnyp/vimrc that referenced this issue May 1, 2019
agnyp added a commit to agnyp/vimrc that referenced this issue May 1, 2019
This reverts commit 5746e79.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants