From b54f81925ef1dac55ad075e1b8b72e608aab269f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Fri, 11 Nov 2016 14:38:51 +0100 Subject: vis: attempt to use the default shell of the user to execute external commands We first try $SHELL and then fall back to the shell field of the password file entry (/etc/passwd). --- vis-core.h | 1 + 1 file changed, 1 insertion(+) (limited to 'vis-core.h') diff --git a/vis-core.h b/vis-core.h index 6940eaf..e16d23a 100644 --- a/vis-core.h +++ b/vis-core.h @@ -158,6 +158,7 @@ struct Vis { int tabwidth; /* how many spaces should be used to display a tab */ bool expandtab; /* whether typed tabs should be converted to spaces */ bool autoindent; /* whether indentation should be copied from previous line on newline */ + char *shell; /* shell used to launch external commands */ Map *cmds; /* ":"-commands, used for unique prefix queries */ Map *usercmds; /* user registered ":"-commands */ Map *options; /* ":set"-options */ -- cgit v1.2.3