Continuity of shell history
Opened this issue · 1 comments
Deleplace commented
- In step
N
, run shell commandX
- Then the "Up" arrow key can be used to re-run the same command
X
- Move forward to step
N+1
, which also features aweb-term
- The "Up" arrow key doesn't remember
X
- it would be nice if it did
tomor commented
There are few possibilities about how to achieve such behavior:
- 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 - Create only one temp history file during the demo - history shared between slides, code here: https://github.com/tomor/demoit/commit/bc87b1debe860b89c39c1e82e5459fe8fd0c6877
- Create only one temp history file during demo per slide - history not shared between slides