diff options
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -516,7 +516,7 @@ local readline_ok,readline = pcall(require,'readline') local nextline,saveline if readline_ok then -- Readline found: - local history = os.getenv('HOME') .. '/.luahistory' + local history = (os.getenv('HOME') or os.getenv('USERPROFILE')) .. '/.luahistory' readline.setup() readline.read_history(history) nextline = function(aux) |