Skip to content

refactor!: flatten hilbish.cd and cd hooks #351

@sammy-ette

Description

@sammy-ette

the cd command throws both the cd hook and a hilbish.cd hook. i probably added this in the past to differentiate between directory changes being done directly by the user (cd) or done by just a function or other means (hilbish.cd) but fs.cd does not throw a hook at all (#350).

instead, the single hilbish.cd hook should exist and add an additional arg, which defines whether the cd change was done by command or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions