From 49de8d30345020c046d125c39bdf2a177b4f9e94 Mon Sep 17 00:00:00 2001 From: BanceDev Date: Mon, 9 Sep 2024 10:22:06 -0400 Subject: added support for init.lua for configuring shell --- src/lush.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/lush.h') diff --git a/src/lush.h b/src/lush.h index bc8dc3c..ea575c7 100644 --- a/src/lush.h +++ b/src/lush.h @@ -37,4 +37,9 @@ char ***lush_split_args(char **commands, int *status); void lush_execute_command(char **args, int input_fd, int output_fd); int lush_execute_pipeline(char ***commands, int num_commands); +void lush_format_prompt(const char *prompt_format); + +// format spec for the prompt +extern char *prompt_format; + #endif // LUSH_H -- cgit v1.2.3-59-g8ed1b