Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continuity of shell history #31

Open
Deleplace opened this issue Apr 16, 2019 · 1 comment
Open

Continuity of shell history #31

Deleplace opened this issue Apr 16, 2019 · 1 comment

Comments

@Deleplace
Copy link
Collaborator

  • In step N, run shell command X
  • Then the "Up" arrow key can be used to re-run the same command X
  • Move forward to step N+1, which also features a web-term
  • The "Up" arrow key doesn't remember X
    • it would be nice if it did
@tomor
Copy link

tomor commented Jun 20, 2019

There are few possibilities about how to achieve such behavior:

  1. Don't create any bash_history temp file and write the history into the .demoit/.bash_history, code here : https://github.com/tomor/demoit/commit/a54874ec569add556e9622cff2624265ac418d58
  2. Create only one temp history file during the demo - history shared between slides, code here: https://github.com/tomor/demoit/commit/bc87b1debe860b89c39c1e82e5459fe8fd0c6877
  3. Create only one temp history file during demo per slide - history not shared between slides

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants