mirror of
https://github.com/kepler155c/opus
synced 2025-10-24 04:07:40 +00:00
better startup
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user