diff options
author | 2018-12-01 08:12:34 +0530 | |
---|---|---|
committer | 2018-12-01 08:12:34 +0530 | |
commit | 50a44494177476659509eb8adfbaedab7ece7e46 (patch) | |
tree | 7ea480098d387dd82e4114150f81db63d69e50c8 /src | |
parent | 4b9796eae04c9a25e27c8f4328075019ce446c4a (diff) | |
download | nnn-50a44494177476659509eb8adfbaedab7ece7e46.tar.gz |
Show arg to EDITOR, PAGER & SHELL
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2116,15 +2116,15 @@ static int show_help(char *path) if (getenv("PWD")) dprintf(fd, "PWD: %s\n", getenv("PWD")); if (getenv("SHELL")) - dprintf(fd, "SHELL: %s\n", shell); + dprintf(fd, "SHELL: %s %s\n", shell, shell_arg); if (getenv("SHLVL")) dprintf(fd, "SHLVL: %s\n", getenv("SHLVL")); if (getenv("VISUAL")) - dprintf(fd, "VISUAL: %s\n", editor); + dprintf(fd, "VISUAL: %s %s\n", editor, editor_arg); else if (getenv("EDITOR")) - dprintf(fd, "EDITOR: %s\n", editor); + dprintf(fd, "EDITOR: %s %s\n", editor, editor_arg); if (getenv("PAGER")) - dprintf(fd, "PAGER: %s\n", pager); + dprintf(fd, "PAGER: %s %s\n", pager, pager_arg); dprintf(fd, "\nVersion: %s\n%s\n", VERSION, GENERAL_INFO); close(fd); |