From f8fbeae798dc660b5fa96a481cbf43761c666f1b Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Fri, 25 Nov 2011 07:36:56 +0100 Subject: [PATCH] vimrc: Allow running as root. --- vimrc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/vimrc b/vimrc index e645706..cd775e0 100644 --- a/vimrc +++ b/vimrc @@ -3,14 +3,6 @@ " EDITOR SETTINGS -" Prevent editing as root as it may cause security problems. Use sudoedit -" instead. Thanks to godlygeek in #vim on Freenode (2009-06-19 22:21 CEST). -if $HOME == '/root' || exists('$SUDO_USER') - echomsg 'Running as root is forbidden! Use sudoedit.' - qall -endif - - " Save 'runtimepath' in case it was changed by the system's configuration " files. if has('eval') -- 2.44.1