From 2464589156b1c75a883b6320328c3479a95dc6ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sun, 5 Feb 2017 23:15:55 +0100 Subject: vis: set $vis_file{name,path} environment variables for external commands --- man/vis.1 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'man/vis.1') diff --git a/man/vis.1 b/man/vis.1 index 6ac8474..6054317 100644 --- a/man/vis.1 +++ b/man/vis.1 @@ -520,6 +520,12 @@ or if the shell command is omitted, the last shell command .Pq "of any type" is substituted. +Unless the file being edited is unnamed, all these external commands +can refer to its absolute path and file name through the +.Ic $vis_filepath +and +.Ic $vis_filename +environment variables. .Ss Loops and conditionals .Bl -tag -width indent .It Ic x/regexp/ Bq command -- cgit v1.2.3