busybox: save history on shell exit, not after every command