Sfoglia il codice sorgente

updated explanation

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1298 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 24 anni fa
parent
commit
5c2f25a7a6
1 ha cambiato i file con 14 aggiunte e 4 eliminazioni
  1. 14 4
      chapter06/vim-exp.xml

+ 14 - 4
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>