aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua_api.c
diff options
context:
space:
mode:
authorGravatar BanceDev 2024-09-17 20:44:04 -0400
committerGravatar BanceDev 2024-09-17 20:44:04 -0400
commitb8501210aefeff45b2eb75429c6e3ca2c1ecc983 (patch)
tree7a4d581862da2ac3b33286284b8dea94a0c113b7 /src/lua_api.c
parentUpdate README.md (diff)
changed tokenizer to handle all the chaining operators
Diffstat (limited to 'src/lua_api.c')
-rw-r--r--src/lua_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua_api.c b/src/lua_api.c
index 99892c7..d40489c 100644
--- a/src/lua_api.c
+++ b/src/lua_api.c
@@ -99,7 +99,7 @@ static int execute_command(lua_State *L, const char *line) {
int status = 0;
lush_push_history(line);
char *expanded_line = lush_resolve_aliases((char *)line);
- char **commands = lush_split_pipes(expanded_line);
+ char **commands = lush_split_commands(expanded_line);
char ***args = lush_split_args(commands, &status);
if (status == -1) {