Skip to content

state management #154

Description

@dfa1

Problem
The intent is to try to unify:

  • changes to the PATH
  • pushd/popd to save/restore directories
  • .envfiles to save/restore variables
    In hosh everything is stored inside a State object, 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedopen problem waiting for help/discussionincompletefurther information is required before starting implementation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions