32 lines
927 B
Diff
32 lines
927 B
Diff
From 54a4d7d5afe1157778223c9c97563b115b9341bc Mon Sep 17 00:00:00 2001
|
|
From: Zdenek Dohnal <zdohnal@redhat.com>
|
|
Date: 2003-08-04 15:38:05.000000000 +0200
|
|
Subject: [PATCH] vim-7.0-rclocation.patch
|
|
|
|
new /usr/share/vim/{vimrc,virc} symlinks are created forloading /etc/{vimrc,virc}.
|
|
New symlinks point to original files in /etc.
|
|
---
|
|
src/os_unix.h | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/src/os_unix.h b/src/os_unix.h
|
|
index 00ae239..a0c9485 100644
|
|
--- a/src/os_unix.h
|
|
+++ b/src/os_unix.h
|
|
@@ -217,10 +217,10 @@ typedef struct dsc$descriptor DESC;
|
|
* Unix system-dependent file names
|
|
*/
|
|
#ifndef SYS_VIMRC_FILE
|
|
-# define SYS_VIMRC_FILE "$VIM/vimrc"
|
|
+# define SYS_VIMRC_FILE "/etc/vimrc"
|
|
#endif
|
|
#ifndef SYS_GVIMRC_FILE
|
|
-# define SYS_GVIMRC_FILE "$VIM/gvimrc"
|
|
+# define SYS_GVIMRC_FILE "/etc/gvimrc"
|
|
#endif
|
|
#ifndef DFLT_HELPFILE
|
|
# define DFLT_HELPFILE "$VIMRUNTIME/doc/help.txt"
|
|
--
|
|
2.27.0
|
|
|