From 149056033a6dc5deb0adc42f591517dcbe2d8a47 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 21 Sep 2019 21:14:59 -0700 Subject: Added support for default shell other than sh (e.g. dash, in case sh links to bash) --- config.def.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index e8d1d3e..498f03c 100644 --- a/config.def.h +++ b/config.def.h @@ -91,6 +91,10 @@ typedef struct { #define DIR_COLOR "\033[34m" #define EXECUTABLE_COLOR "\033[31m" +#ifndef SH +#define SH "sh" +#endif + // Some handy macros for common shell script behaviors: #define PAUSE " read -n1 -p '\033[2mPress any key to continue...\033[0m\033[?25l' >/dev/tty '}, "tput rmcup >/dev/tty; $SHELL; bb +r", "Open a "B("shell")}, {{'r', KEY_F2}, -- cgit v1.2.3