Skip to content

zi dunload

Revert all shell-state changes recorded between zi dstart and zi dstop. Undoes aliases, functions, bindkeys, and other modifications captured during the session investigation window.

Terminal window
zi dunload

No arguments.

Replays the inverse of every change captured during the active (or most recently stopped) session investigation. This is the session-level equivalent of zi unload for individual plugins. After dunload, the shell state is restored to what it was at the moment dstart was called. The investigation report is cleared after unload.

Terminal window
zi dstart
source ~/experimental-script.zsh
zi dreport # see what changed
zi dunload # revert everything
zi dstop
  • cmd-dstart
  • cmd-dstop
  • cmd-dreport
  • cmd-dclear