aboutsummaryrefslogtreecommitdiffstats
path: root/src/lush.h
diff options
context:
space:
mode:
authorGravatar BanceDev 2024-09-09 16:17:08 -0400
committerGravatar BanceDev 2024-09-09 16:17:08 -0400
commit521316d09b39a410d7e797efa176371e31a3a57e (patch)
treebb0c6bb5a9df1280fceb483983e2328ee87c0da0 /src/lush.h
parentbugfix to inline backspace and delete on multiline buffer (diff)
add aliasing to init.lua
Diffstat (limited to '')
-rw-r--r--src/lush.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lush.h b/src/lush.h
index ea575c7..27cf5db 100644
--- a/src/lush.h
+++ b/src/lush.h
@@ -20,6 +20,9 @@ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#include <lua.h>
+void lush_add_alias(const char *alias, const char *command);
+char *lush_get_alias(char *alias);
+
int lush_cd(lua_State *L, char ***args);
int lush_help(lua_State *L, char ***args);
int lush_exit(lua_State *L, char ***args);