aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-11-15 00:28:18 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-11-15 13:21:04 +0100
commite16e21ed4658ec1c8d1b55774625ce852fc917af (patch)
tree22d3c11285a449be1af3fcb1d63f4a16ce120338
parent0f479c4da7f0c62d7422417d3d0601c853f043aa (diff)
downloadvis-e16e21ed4658ec1c8d1b55774625ce852fc917af.tar.gz
vis-e16e21ed4658ec1c8d1b55774625ce852fc917af.tar.xz
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.
-rw-r--r--README.md5
-rw-r--r--vis.16
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