diff options
author | Marc Heerdink <gimli@linuxfromscratch.org> | 2001-12-10 15:23:46 +0000 |
---|---|---|
committer | Marc Heerdink <gimli@linuxfromscratch.org> | 2001-12-10 15:23:46 +0000 |
commit | 8c5e7152f076d6b68a23e6629a44b49763557f48 (patch) | |
tree | a1aefdf4de97412c9982138139b5afedc09f4361 /chapter06/vim-inst.xml | |
parent | 7c77094da04a687209937c8bf15ced1d8bac404a (diff) |
Resolved bug 192 and a version increase
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1370 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/vim-inst.xml')
-rw-r--r-- | chapter06/vim-inst.xml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chapter06/vim-inst.xml b/chapter06/vim-inst.xml index 176ff9300..a4a73002d 100644 --- a/chapter06/vim-inst.xml +++ b/chapter06/vim-inst.xml @@ -9,7 +9,8 @@ which are currently available are for Emacs, Joe and nano.</para> <para>Install Vim by running the following commands:</para> -<para><screen><userinput>sed '/shUntil\|link shRepeat/{ +<para><screen><userinput>cp runtime/syntax/sh.vim runtime/syntax/sh.vim.backup && +sed '/shUntil\|link shRepeat/{ /shUntil/N /^/i\ if exists("b:is_kornshell") || exists("b:is_bash") @@ -17,8 +18,7 @@ which are currently available are for Emacs, Joe and nano.</para> /$/i\ endif d - }' runtime/syntax/sh.vim > sh.vim.fixed && -mv sh.vim.fixed runtime/syntax/sh.vim && + }' runtime/syntax/sh.vim.backup > runtime/syntax/sh.vim && ./configure --prefix=/usr && make CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\" && make install && @@ -41,7 +41,8 @@ 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>sed '/shUntil\|link shRepeat/{ +<para><screen><userinput>cp runtime/syntax/sh.vim runtime/syntax/sh.vim.backup && +sed '/shUntil\|link shRepeat/{ /shUntil/N /^/i\ if exists("b:is_kornshell") || exists("b:is_bash") @@ -49,8 +50,7 @@ instead of the one presented above:</para> /$/i\ endif d - }' runtime/syntax/sh.vim > sh.vim.fixed && -mv sh.vim.fixed runtime/syntax/sh.vim && + }' runtime/syntax/sh.vim.backup > runtime/syntax/sh.vim && ./configure --prefix=/usr --localstatedir=/var/lib/vim && make CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\" && make install && |