diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-11-11 14:38:51 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-11-11 14:38:51 +0100 |
| commit | b54f81925ef1dac55ad075e1b8b72e608aab269f (patch) | |
| tree | d65d1db37135748633c57b9c384d4d9a89befdf0 /vis-core.h | |
| parent | b3fb1e437f84138e5d6e8d9f6adbfce303b3a792 (diff) | |
| download | vis-b54f81925ef1dac55ad075e1b8b72e608aab269f.tar.gz vis-b54f81925ef1dac55ad075e1b8b72e608aab269f.tar.xz | |
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).
Diffstat (limited to 'vis-core.h')
| -rw-r--r-- | vis-core.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ |
