aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/vim.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/vim.xml')
-rw-r--r--chapter06/vim.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/chapter06/vim.xml b/chapter06/vim.xml
index 5a4e3a9d0..ed5448187 100644
--- a/chapter06/vim.xml
+++ b/chapter06/vim.xml
@@ -117,8 +117,8 @@
languages:</para>
<screen><userinput remap="install">ln -sv vim /usr/bin/vi
-for L in "" fr it pl ru; do
- ln -sv vim.1 /usr/share/man/$L/man1/vi.1
+for L in /usr/share/man/{,*/}man1/vim.1; do
+ ln -sv vim.1 $(dirname $L)/vi.1
done</userinput></screen>
<para>By default, Vim's documentation is installed in <filename