1
0
mirror of https://github.com/kepler155c/opus synced 2025-10-24 04:07:40 +00:00

better startup

This commit is contained in:
kepler155c@gmail.com
2017-09-26 05:34:31 -04:00
parent 2d93974e6a
commit f2e1a39584
3 changed files with 28 additions and 29 deletions

View File

@@ -52,23 +52,10 @@ local config = {
tabBarBackgroundColor = colors.gray,
focusBackgroundColor = colors.gray,
},
-- path = '.:/apps:' .. shell.path():sub(3),
path = shell.path(),
}
Config.load('multishell', config)
shell.setPath(config.path)
if config.aliases then
for k in pairs(shell.aliases()) do
shell.clearAlias(k)
end
for k,v in pairs(config.aliases) do
shell.setAlias(k, v)
end
end
local _colors = config.standard
if parentTerm.isColor() then
_colors = config.color