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.xml6
1 files changed, 2 insertions, 4 deletions
diff --git a/chapter06/vim-inst.xml b/chapter06/vim-inst.xml
index 8bf39c1c3..3b3909050 100644
--- a/chapter06/vim-inst.xml
+++ b/chapter06/vim-inst.xml
@@ -12,8 +12,7 @@ which are currently available are for Emacs, Joe and nano.</para>
<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;
-ln -sf vim vi</userinput></screen></para>
+ln -sf vim /usr/bin/vi</userinput></screen></para>
<para>If you plan on installing the X Window system on your LFS
system, you might want to re-compile Vim after you have installed X. Vim
@@ -34,8 +33,7 @@ instead of the one presented above:</para>
<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;
-ln -sf vim vi</userinput></screen></para>
+ln -sf vim /usr/bin/vi</userinput></screen></para>
</sect2>