]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
vimrc: add warning about dangerous exrc mode 2005/head
authorChristian Hesse <mail@eworm.de>
Mon, 23 Nov 2015 18:31:00 +0000 (19:31 +0100)
committerChristian Hesse <mail@eworm.de>
Mon, 23 Nov 2015 18:31:00 +0000 (19:31 +0100)
.vimrc

diff --git a/.vimrc b/.vimrc
index b802c908f268d686c31b7fc6f5e7d0375b27abfe..d8020f340469889cca4773ab97c7e1e009798453 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -1,4 +1,8 @@
 " 'set exrc' in ~/.vimrc will read .vimrc from the current directory
+" Warning: Enabling exrc is dangerous! You can do nearly everything from a
+" vimrc configuration file, including write operations and shell execution.
+" You should consider setting 'set secure' as well, which is highly
+" recommended!
 set tabstop=8
 set shiftwidth=8
 set expandtab