aboutsummaryrefslogtreecommitdiff
path: root/vis.1
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-03-21 22:21:02 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-03-21 22:41:27 +0100
commit9b3cd2462a48ca942309e24f511db2ea1fddc95b (patch)
tree009da77782848cfc8e6c1e83a49a0a1d7e6a08bb /vis.1
parent83b495b0c10f065897cc420a92afc7ac41448c26 (diff)
downloadvis-9b3cd2462a48ca942309e24f511db2ea1fddc95b.tar.gz
vis-9b3cd2462a48ca942309e24f511db2ea1fddc95b.tar.xz
vis: also lookup Lua support files relative to the binary location
This simplifies deployment of vis on remote systems without root access. The idea is to extract a statically linked binary together with the lexer syntax files into some directory, adjust $PATH to include it and have everything just work. For now this uses /proc/self/exe and thus only works on Linux based systems.
Diffstat (limited to 'vis.1')
-rw-r--r--vis.14
1 files changed, 3 insertions, 1 deletions
diff --git a/vis.1 b/vis.1
index 4aafd4e..b655921 100644
--- a/vis.1
+++ b/vis.1
@@ -24,7 +24,9 @@ Defaults (in this order) to:
.RS
.RS
.TP
-.B $XDG_CONFIG_HOME/vis
+The location of the vis binary
+.TP
+.B $XDG_CONFIG_HOME/vis
where
.B $XDG_CONFIG_HOME
refers to