smux-detect(1)

πŸ“¦ version 0.6.0, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay bestie, welcome to smux-detect(1) from the General Commands Manual β€” this is the page for smux-detect, which shows which template smux would auto-detect for a directory, and why πŸ’…βœ¨

✨ SYNOPSIS ✨

smux-detect [-q|--quiet] [-h|--help] <PATH>

πŸ’– DESCRIPTION πŸ’–

So here’s the vibe: it prints every template whose match files or match_dependencies are present in a directory. Not just the winner β€” the whole ranked lineup πŸ’–

The ranking is exactly how smux auto-selects them:

  • highest priority first πŸ”₯
  • then a dependency match over a file match 🧚
  • then the longest matched marker πŸ“
  • then the alphabetically first name πŸ”€

The top entry β€” the one marked with an arrow πŸ’˜ β€” is the template smux would actually apply. The whole thing is useful for debugging why a folder opens with an unexpected layout, without launching a session. No session needed, just answers, periodt πŸ‘‘

πŸ’… OPTIONS πŸ’…

  • -q, --quiet β€” print only the winning template name; exit 1 when nothing matches. Quiet mode means the winner is the only one speaking πŸ‘‘
  • -h, --help β€” print help (see a summary with -h) 🫢
  • <PATH> β€” directory to run template auto-detection against πŸ“

cute sign-off time: the footer/source tag on this one is smux-detect on smux-detect(1) in the General Commands Manual, and there is literally no date printed on the page, so no invented date from me β€” mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from