Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

jmp shell should preserve commandline history #560

@makohoek

Description

@makohoek

After obtaining a lease, we get prompted to a new shell which has no history:

(jumpstarter) [toolbx] ~/work/redhat/tools/jumpstarter/ main $ jmp shell -l device=ti-jacinto-sk-am69-01 --duration 02:00:00
[07/10/25 09:47:39] INFO     INFO:jumpstarter.client.lease:Created lease request for selector device=ti-jacinto-sk-am69-01 for duration 2:00:00                                                                                                                                                                    lease.py:62
jumpstarter ⚡remote ➤ history
    1  history

When exiting the session, we can see that I have shell history:

jumpstarter ⚡remote ➤ 
[07/10/25 09:50:56] INFO     INFO:jumpstarter.client.lease:Releasing Lease 0197f34d-eb01-7388-89d3-1f9466e08345  
(jumpstarter) [toolbx] ~/work/redhat/tools/jumpstarter/ main $ history| wc -l
6476

I have version:

jmp version
Jumpstarter v0.7.0.dev55+g7187869ce488 from /var/home/mkorpershoek/work/redhat/tools/jumpstarter/packages/jumpstarter-cli-common (Python 3.12.11 (main, Jun 12 2025, 00:00:00) [GCC 15.1.1 20250521 (Red Hat 15.1.1-2)])

And I use a zsh shell by default with oh-my-zsh.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions