aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2001-10-08 01:26:02 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2001-10-08 01:26:02 +0000
commit5c2f25a7a6b8251dfc2de313155ce737afac6960 (patch)
treec243b9a809cd0bd172b9479007530d1ac4477f6f
parent93c0fbf36566c328c75ca2048c3db2ec82683bf6 (diff)
updated explanation
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1298 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter06/vim-exp.xml18
1 files changed, 14 insertions, 4 deletions
diff --git a/chapter06/vim-exp.xml b/chapter06/vim-exp.xml
index e53dbbe0e..83bf20cf2 100644
--- a/chapter06/vim-exp.xml
+++ b/chapter06/vim-exp.xml
@@ -1,10 +1,20 @@
<sect2>
<title>Command explanations</title>
-<para><userinput>echo '#define SYS_VIMRC_FILE "/etc/vimrc"'
-&gt;&gt; src/feature.h:</userinput> This will change the location of the
-global vim configuration file <filename>vimrc</filename> to /etc rather than
-/usr/share/vim</para>
+<para><userinput>sed '/shUntil\|link shRepeat/{...:</userinput> This sed
+command fixes a bug in the <filename>syntax/sh.vim</filename> file that
+will cause an error message when you edit a shell script using syntax
+highlighting.</para>
+
+<para><userinput>make
+CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\":</useriput> Setting this will
+cause vim to look for the <filename>/etc/vimrc</filename> file that
+contains the global vim settings. Normally this file is looked for in
+<filename class="directory">/usr/share/vim</filename>, but
+<filename class="directory">/etc</filename> is a more logical place for
+this kind of file.</para>
+
+</para>
</sect2>