• Wincent
    Open
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search

Debugging Zsh startupEdit

6 weeks ago

I recently had to debug some breakage in my Zsh set-up where my $PATH was getting clobbered but I didn’t know where from. Stack Overflow to the rescue:

zsh -xl

This simulates a login shell (-l/--login) and dumps debug info (-x/--xtrace) about everything that it’s doing along the way.

  • wiki
  • zsh
Site
  • About
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search
External
  • GitHub
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
Colophon

Made by Greg Hurrell using React, Relay and GraphQL (with help from Git, Redis and Neovim).