diff options
Diffstat (limited to '.lush/scripts')
| -rw-r--r-- | .lush/scripts/example.lua | 4 |
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) |
