aboutsummaryrefslogtreecommitdiffstats
path: root/.lush
diff options
context:
space:
mode:
authorGravatar BanceDev 2024-09-03 22:33:15 -0400
committerGravatar BanceDev 2024-09-03 22:33:15 -0400
commit893626403f9cc1111cc71e578882fc6c75959d50 (patch)
treec239aa72b11dbc98e93734439cd725c8ee4729dc /.lush
parentadded cd to lua api (diff)
updated the example.lua to use new cd command
Diffstat (limited to '.lush')
-rw-r--r--.lush/scripts/example.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/.lush/scripts/example.lua b/.lush/scripts/example.lua
index b2f2f2b..8da0435 100644
--- a/.lush/scripts/example.lua
+++ b/.lush/scripts/example.lua
@@ -41,6 +41,6 @@ print(cwd)
-- exec also supports piping
-- this comment will get grepped since it says hello
-lush.exec("cd " .. os.getenv("HOME") .. "/.lush/scripts")
+lush.cd("~/.lush/scripts")
lush.exec('cat "example.lua" | grep "hello" | sort | uniq')
-lush.exec("cd " .. cwd)
+lush.cd(cwd)
+8 2024-09-12Update build.yml checkout v4Gravatar Lance Borden 1-1/+1 2024-09-12Update build.yml to artifact v4Gravatar Lance Borden 1-1/+1 2024-09-12fixed exit status issue with non interative modeGravatar BanceDev 1-1/+1 2024-09-12added non interative mode for running lua scriptsGravatar BanceDev 2-4/+28 2024-09-12temporary github action fix until non-interactive mode is implementedGravatar BanceDev 1-2/+2 2024-09-12attempt to update build script to accept input into lush shellGravatar BanceDev 2-4/+6 2024-09-12prevent lush workflow from getting stuck in testsGravatar Lance Borden 1-1/+4 2024-09-12removed chsh in workflowGravatar Lance Borden 1-4/+1