Zsh session restoration
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
__zsnapshot
zsnapshot.plugin.zsh

README.md

Zsnapshot

Plugin that provides zsnapshot command which dumps current ZSH state into a file, for restoration by sourcing the file

Installation

Zplugin

Add zplugin load psprint/zsnapshot to your .zshrc file. Zplugin will handle cloning the plugin for you automatically the next time you start zsh.

Antigen

Adding antigen bundle psprint/zsnapshot to your .zshrc file. Antigen will handle cloning the plugin for you automatically the next time you start zsh. You can also add the plugin to a running zsh with antigen bundle psprint/zsnapshot for testing before adding it to your .zshrc.

Oh-My-Zsh

  1. cd ~/.oh-my-zsh/custom/plugins
  2. git clone https://github.com/psprint/zsnapshot.git
  3. Add zsnapshot to your plugin list

Zgen

Add zgen load psprint/zsnapshot to your .zshrc file in the same function you're doing your other zgen load calls in.