aboutsummaryrefslogtreecommitdiffstats
path: root/src/lush.h
diff options
context:
space:
mode:
authorGravatar BanceDev 2024-09-09 10:22:06 -0400
committerGravatar BanceDev 2024-09-09 10:22:06 -0400
commit49de8d30345020c046d125c39bdf2a177b4f9e94 (patch)
treee2c03299979ff3e455739a371088d764bb770cc5 /src/lush.h
parentadded getenv and putenv to Lua API (diff)
added support for init.lua for configuring shell
Diffstat (limited to 'src/lush.h')
-rw-r--r--src/lush.h5
1 files changed, 5 insertions, 0 deletions
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