summaryrefslogtreecommitdiffstatshomepage
path: root/plugins/console/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/console/init.lua')
-rw-r--r--plugins/console/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/console/init.lua b/plugins/console/init.lua
index 6b8643fe168..1b40ac50bee 100644
--- a/plugins/console/init.lua
+++ b/plugins/console/init.lua
@@ -243,7 +243,7 @@ function console.startplugin()
end
if (not started) then
-- options are not available in startplugin, so we load the history here
- local homepath = emu.subst_env(manager.options.entries.homepath:value():match("([^;]+)"))
+ local homepath = manager.options.entries.homepath:value():match("([^;]+)")
history_fullpath = homepath .. '/' .. history_file
ln.loadhistory(history_fullpath)
started = true