Compare commits

...

3 Commits

Author SHA1 Message Date
sammyette 2c10be0102
fix: add new require path 2021-09-30 00:01:03 -04:00
sammyette 37bc018a13
chore: update lunacolors 2021-09-29 23:56:16 -04:00
sammyette 630c0b0356
fix: dont trim spaces on cd dir args 2021-09-29 22:32:37 -04:00
3 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit 004bca95d6e848f03e237c46127286f8f064bebc
Subproject commit d200fca13df1c47e133b269420223d7e257dbc41

View File

@ -16,7 +16,7 @@ commander.register('cd', function (args)
path = path .. tostring(args[i]) .. ' '
end
path = path:gsub('$%$','\0'):gsub('${([%w_]+)}', os.getenv)
:gsub('$([%w_]+)', os.getenv):gsub('%z','$'):gsub("%s+", "")
:gsub('$([%w_]+)', os.getenv):gsub('%z','$')
if path == '-' then
path = oldDir

View File

@ -4,7 +4,7 @@ package main
// String vars that are free to be changed at compile time
var (
requirePaths = `';./libs/?/init.lua;./?/init.lua;./?/?.lua'
requirePaths = `';./libs/?/init.lua;./libs/?/?.lua;./?/init.lua;./?/?.lua'
.. ';/usr/share/hilbish/libs/?/init.lua;'
.. ';/usr/share/hilbish/libs/?/?.lua;'
.. hilbish.home .. '/.local/share/hilbish/libs/?/init.lua;'