mirror of https://github.com/Hilbis/Hilbish
Compare commits
No commits in common. "2c10be010275809fdb55aa3156b302201e8ecef2" and "afcc6fe63a35a10e778dc3e5c89ca660eb5caf40" have entirely different histories.
2c10be0102
...
afcc6fe63a
|
@ -1 +1 @@
|
||||||
Subproject commit d200fca13df1c47e133b269420223d7e257dbc41
|
Subproject commit 004bca95d6e848f03e237c46127286f8f064bebc
|
|
@ -16,7 +16,7 @@ commander.register('cd', function (args)
|
||||||
path = path .. tostring(args[i]) .. ' '
|
path = path .. tostring(args[i]) .. ' '
|
||||||
end
|
end
|
||||||
path = path:gsub('$%$','\0'):gsub('${([%w_]+)}', os.getenv)
|
path = path:gsub('$%$','\0'):gsub('${([%w_]+)}', os.getenv)
|
||||||
:gsub('$([%w_]+)', os.getenv):gsub('%z','$')
|
:gsub('$([%w_]+)', os.getenv):gsub('%z','$'):gsub("%s+", "")
|
||||||
|
|
||||||
if path == '-' then
|
if path == '-' then
|
||||||
path = oldDir
|
path = oldDir
|
||||||
|
|
|
@ -4,7 +4,7 @@ package main
|
||||||
|
|
||||||
// String vars that are free to be changed at compile time
|
// String vars that are free to be changed at compile time
|
||||||
var (
|
var (
|
||||||
requirePaths = `';./libs/?/init.lua;./libs/?/?.lua;./?/init.lua;./?/?.lua'
|
requirePaths = `';./libs/?/init.lua;./?/init.lua;./?/?.lua'
|
||||||
.. ';/usr/share/hilbish/libs/?/init.lua;'
|
.. ';/usr/share/hilbish/libs/?/init.lua;'
|
||||||
.. ';/usr/share/hilbish/libs/?/?.lua;'
|
.. ';/usr/share/hilbish/libs/?/?.lua;'
|
||||||
.. hilbish.home .. '/.local/share/hilbish/libs/?/init.lua;'
|
.. hilbish.home .. '/.local/share/hilbish/libs/?/init.lua;'
|
||||||
|
|
Loading…
Reference in New Issue