Skip to content

hishtory: shell history import never runs / gives no feedback #29

Description

@jdevera

Found during the fresh-macOS install documented in #20.

Problem

After getting hishtory installed manually:

cp /opt/homebrew/bin/hishtory /tmp/
HISHTORY_SERVER=hishtory.vrt.homes /tmp/hishtory install --skip-config-modification

the post step ran, but I never saw anything about importing existing shell history. An earlier attempt did show "Importing existing shell history..." before it 503'd, so the import step exists but its success/skip is invisible in our flow.

Suggested direction

In home/.chezmoiscripts/run_once_after_040-setup-hishtory.sh.tmpl, make the history-import outcome explicit — run/trigger the import as its own dot::step, and report whether it imported, was skipped, or needs to be retried later. Tie any "import couldn't complete" case into the run-warnings mechanism so it's not silently lost.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bootstrapFresh-machine bootstrap / first-run setup

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions