hosh
hosh copied to clipboard
state management
Problem The intent is to try to unify:
- changes to the
PATH pushd/popdto save/restore directories.envfiles to save/restore variables In hosh everything is stored inside aStateobject, that is injected to every command to provide current working directory, variables, etc.
Solution
Let's take inspiration by nushell for enter/leave and p/n.
Benefit Still unclear to me.
probably should be designed together with #264
and with #273