smux-detect(1)
π 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
priorityfirst π₯ - 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; exit1when 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
- nixpkgs unstable: smux 0.6.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms