Uninstall dsh without losing your sessions
undohaven snapshot. The dsh 0.2.2-rc.1 launcher does not have an uninstall command. Take an UndoHaven snapshot before you remove the program. After you install dsh again, undohaven restore --to SNAPSHOT_ID puts the saved home back.
Steps
- Quit dsh. Run undohaven snapshot so the encrypted copy includes sessions, profile config, and plugin state.
- Sessions are stored under $DSH_HOME/sessions (the stock profile sets the jsonl root to dshHomePath('sessions')). Profile config is $DSH_HOME/profiles/<name>/cordis.patch.yml.
- If you copy files by hand, copy the session directory and the profile together. A session file alone does not restore plugin config.
Without UndoHaven
Removing the dsh package does not, by itself, delete $DSH_HOME. Keep that directory, or a snapshot of it, if you want the sessions later.