aboutsummaryrefslogtreecommitdiffstats
path: root/.lush
diff options
context:
space:
mode:
Diffstat (limited to '.lush')
-rw-r--r--.lush/scripts/example.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/.lush/scripts/example.lua b/.lush/scripts/example.lua
index 279ad5e..b2f2f2b 100644
--- a/.lush/scripts/example.lua
+++ b/.lush/scripts/example.lua
@@ -30,6 +30,11 @@ if lush.exec('echo "hello world"\n') then
print("echo worked properly")
end
+-- debug mode can be used to log execution of commands
+lush.debug(true) -- enters debug
+lush.exec('echo "echo in debug mode"')
+lush.debug(false) -- exits debug
+
-- getcwd returns the current working directory
local cwd = lush.getcwd()
print(cwd)
height='13' alt='Gravatar' /> Enno Boland (tox) 1-1/+3 2009-09-07using gint instead of int (insane API, but ok.)Gravatar Enno Boland (tox) 1-19/+12 2009-09-07using simple strings for colors in config.hGravatar Enno Boland (tox) 2-6/+6 2009-09-07changing keybindingsGravatar Enno Boland (tox) 1-16/+15 2009-09-07changing minimal size.Gravatar Enno Boland (tox) 1-1/+1 2009-09-07next version is 0.1Gravatar Enno Boland (tox) 1-1/+1 2009-09-07moving config.h to config.def.h.Gravatar Enno Boland (tox) 2-11/+15 2009-09-07moving color definitions to config.hGravatar Enno Boland (tox) 2-4/+5 2009-09-07indicator is red when http and green when httpsGravatar Enno Boland (tox) 1-1/+15 2009-09-07making indicator smaller.Gravatar Enno Boland (tox) 1-1/+1 2009-09-07typoGravatar Enno Boland (tox) 1-2/+2 2009-09-07adding indicator bar.Gravatar Enno Boland (tox) 1-11/+46 2009-09-07s/zoompage/zoom/Gravatar Enno Boland (tox) 2-5/+6 2009-09-07typo fixGravatar Enno Boland (tox) 1-1/+1 2009-09-07changes to the event system, make config.h saner, working on cookiesGravatar Enno Boland (tox) 2-96/+63 2009-09-06typofixGravatar Enno Boland (tox) 1-1/+1 2009-09-06reworked navigate.Gravatar Enno Boland (tox) 2-7/+4 2009-09-06reworked navigate.Gravatar Enno Boland (tox) 2-7/+4 2009-09-06reappling printing; changing some keys.Gravatar Enno Boland (tox) 2-3/+10