oilshell / oil

Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!
http://www.oilshell.org/
Other
2.78k stars 150 forks source link

Setting up GNU readline history #1999

Closed dezren39 closed 1 week ago

dezren39 commented 1 week ago

how does one enable automatic history retention on ysh start? i would guess some sort of default .config/ysh folder that has a history file or something? how would you recommend implementing? same question for osh too i suppose, though its compatible with shell so i think i saw issues for using mcfly and stuff.

andychu commented 1 week ago

Does this help?

mkdir -p ~/.local/share/oils

Yeah that is a bit hidden here

https://www.oilshell.org/release/0.22.0/doc/getting-started.html