summaryrefslogtreecommitdiff
path: root/xmake/core/main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-05-11 00:05:25 +0800
committerruki <[email protected]>2017-05-11 00:05:25 +0800
commit18cc92064b4331e3d4fb5ca63ef3723b955d4448 (patch)
treeaea22341d7a5056c8337e011acd8fb7ec1d55f8d /xmake/core/main.lua
parent7d461c4de3e3476366b53aa67dd17f4f1e785ee2 (diff)
save global repl history
Diffstat (limited to 'xmake/core/main.lua')
-rw-r--r--xmake/core/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/main.lua b/xmake/core/main.lua
index 97c77ae43..a809fc508 100644
--- a/xmake/core/main.lua
+++ b/xmake/core/main.lua
@@ -181,7 +181,7 @@ function main.done()
-- save command lines to history
if os.isfile(xmake._PROJECT_FILE) then
- history.save("cmdlines", option.cmdline())
+ history("local.history"):save("cmdlines", option.cmdline())
end
-- run task