From 9e34fc04c31fa00f97a889be2d41fb43d44deeb0 Mon Sep 17 00:00:00 2001 From: Einhard Leichtfuß Date: Thu, 10 Jan 2019 08:17:52 +0100 Subject: Honor $VISUAL It does now take precedence over $EDITOR when editing files. You probably do not want to edit contact entries with ed. --- ctct_config.5.in | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'ctct_config.5.in') diff --git a/ctct_config.5.in b/ctct_config.5.in index 198683f..e1cb570 100644 --- a/ctct_config.5.in +++ b/ctct_config.5.in @@ -73,16 +73,19 @@ is called with the .B \-\-edit option\. If set, supersedes both the +environment variables +.RB $ VISUAL , .RB $ EDITOR -environment variable and the .BR fallback_editor \. By default, unset\. .\" .TP .BR fallback_editor "=(\fIprogram\fP [\|\fIarg\fP \.\.\.\|])" -The editor to fall back to if neither the environment variable -.RB $ EDITOR +The editor to fall back to if neither any of the environment variables +.RB $ VISUAL +and +.RB $ EDITOR , nor .B default_editor is set\. -- cgit v1.2.3