Skip to content

Conversation

rexkerr
Copy link
Contributor

@rexkerr rexkerr commented Feb 14, 2019

  • vim should not be run as root, but instead use sudo -e
    (or sudoedit) which creates a temporary copy of the file
    to edit and then copies it over the original if you modify the
    contents.

@rexkerr
Copy link
Contributor Author

rexkerr commented Feb 14, 2019

Using sudo -e also ensures that the users EDITOR is used rather than assuming vim.

vim should not be run as root, but instead use `sudo -e` (or sudoedit)
which creates a temporary copy of the file to edit and then copies it
over the original if you modify the contents.
@ben
Copy link
Member

ben commented Feb 14, 2019

I like it, thanks!

@ben ben merged commit c883d07 into progit:master Feb 14, 2019
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

Successfully merging this pull request may close these issues.

2 participants