aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/vim-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/vim-inst.xml')
-rw-r--r--chapter06/vim-inst.xml24
1 files changed, 2 insertions, 22 deletions
diff --git a/chapter06/vim-inst.xml b/chapter06/vim-inst.xml
index a4a73002d..8bf39c1c3 100644
--- a/chapter06/vim-inst.xml
+++ b/chapter06/vim-inst.xml
@@ -9,17 +9,7 @@ which are currently available are for Emacs, Joe and nano.</para>
<para>Install Vim by running the following commands:</para>
-<para><screen><userinput>cp runtime/syntax/sh.vim runtime/syntax/sh.vim.backup &amp;&amp;
-sed '/shUntil\|link shRepeat/{
-&nbsp;&nbsp;&nbsp;/shUntil/N
-&nbsp;&nbsp;&nbsp;/^/i\
-&nbsp;&nbsp;&nbsp;if exists("b:is_kornshell") || exists("b:is_bash")
-&nbsp;&nbsp;&nbsp;p
-&nbsp;&nbsp;&nbsp;/$/i\
-&nbsp;&nbsp;&nbsp;endif
-&nbsp;&nbsp;&nbsp;d
-&nbsp;&nbsp;&nbsp;}' runtime/syntax/sh.vim.backup &gt; runtime/syntax/sh.vim &amp;&amp;
-./configure --prefix=/usr &amp;&amp;
+<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
make CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\" &amp;&amp;
make install &amp;&amp;
cd /usr/bin &amp;&amp;
@@ -41,17 +31,7 @@ for their temporary state files, like temporary save files for example.
If you wish vim to conform to the FHS, you should use this command set
instead of the one presented above:</para>
-<para><screen><userinput>cp runtime/syntax/sh.vim runtime/syntax/sh.vim.backup &amp;&amp;
-sed '/shUntil\|link shRepeat/{
-&nbsp;&nbsp;&nbsp;/shUntil/N
-&nbsp;&nbsp;&nbsp;/^/i\
-&nbsp;&nbsp;&nbsp;if exists("b:is_kornshell") || exists("b:is_bash")
-&nbsp;&nbsp;&nbsp;p
-&nbsp;&nbsp;&nbsp;/$/i\
-&nbsp;&nbsp;&nbsp;endif
-&nbsp;&nbsp;&nbsp;d
-&nbsp;&nbsp;&nbsp;}' runtime/syntax/sh.vim.backup &gt; runtime/syntax/sh.vim &amp;&amp;
-./configure --prefix=/usr --localstatedir=/var/lib/vim &amp;&amp;
+<para><screen><userinput>./configure --prefix=/usr --localstatedir=/var/lib/vim &amp;&amp;
make CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\" &amp;&amp;
make install &amp;&amp;
cd /usr/bin &amp;&amp;