2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-02 19:53:23 +00:00

fix: return 0 exit code when cd with noarg instead of throwing hook explicitly

This commit is contained in:
sammyette 2021-06-09 20:30:12 -04:00
parent 95dee1f4dd
commit 792ce996d3
No known key found for this signature in database
GPG Key ID: 50EE40A2809851F5

View File

@ -35,7 +35,8 @@ commander.register('cd', function (args)
return
end
fs.cd(os.getenv 'HOME')
bait.throw('command.exit', 0)
return
end)
commander.register('exit', function()