From e16e21ed4658ec1c8d1b55774625ce852fc917af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 15 Nov 2016 00:28:18 +0100 Subject: Fix documentation regarding Lua paths in README and manual page Wether `/usr/local/share/vis` or `/usr/share/vis` is used depends on how the configure script was invoked. However, both are never used at the same time. This section should be completely reworked at some point. --- README.md | 5 +++-- vis.1 | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ec576a8..073a351 100644 --- a/README.md +++ b/README.md @@ -477,8 +477,9 @@ highlighting. `VIS_PATH` defaults (in this order) to - The location of the `vis` binary - `$XDG_CONFIG_HOME/vis`, where `$XDG_CONFIG_HOME` refers to `$HOME/.config` if unset -- `/usr/local/share/vis` -- `/usr/share/vis` +- `/usr/local/share/vis` or `/usr/share/vis` depending on the build configuration + +Use `:help` and search for "Lua paths" to get the actual paths being used. ### Runtime Configurable Key Bindings diff --git a/vis.1 b/vis.1 index 5dca32f..f46684a 100644 --- a/vis.1 +++ b/vis.1 @@ -33,10 +33,10 @@ refers to .B $HOME/.config if unset .TP -.B /usr/local/share/vis -.TP -.B /usr/share/vis +\fB/usr/local/share/vis\fR or \fB/usr/share/vis\fR depending on the build configuration .RE +.TP +Check \fB:help\fR to get the actual directories used by your binary. .RE .SH HELP Type -- cgit v1.2.3