Skip to content

zi dclear

Clear the session investigation report without reverting any changes. Resets the tracking data accumulated since zi dstart.

Terminal window
zi dclear

No arguments.

Discards the accumulated session report from the current investigation window without undoing the recorded changes. After dclear, zi dreport will show an empty report and zi dunload will have nothing to revert. Use this when you want to start tracking fresh without stopping and restarting with dstop/dstart, or when you simply want to discard the report without reverting.

Terminal window
zi dstart
source ~/script-a.zsh
zi dclear # discard report for script-a
source ~/script-b.zsh
zi dreport # only shows changes from script-b
zi dstop
  • cmd-dstart
  • cmd-dstop
  • cmd-dreport
  • cmd-dunload