smug(1)
π smug(1) β like, the manual page, bestie
okay so this is smug, section 1 of the manual, and it's a session manager for tmux written in go β yes the whole thing is written in Go, we love that for it π«Ά
β¨ SYNOPSIS β¨
smug [options] [command]
that's it. that's the whole vibe. options first, command after, slay π
πΈ DESCRIPTION πΈ
smug is a session manager for tmux, no cap. the way it handles configuration is inspired by tmuxinator and tmuxp β so if you already know those, it's giving familiar-but-better, iykyk π
π GLOBAL OPTIONS π
-d,--debugβ prints all the commands to~/.config/smug/smug.logso you can peek at exactly what's going down π like a little diary for your tmux session, obsessed
π COMMANDS π
list
display all your smug project configurations. a full little lineup of everything you've got going on β¨
start [<projectname>]
start a tmux project session. main character energy fr fr π₯
COMMAND OPTIONS
-f,--fileβ a custom path to a config file, for when you're not feeling the default location ποΈ-w,--windowsβ list of windows to start. and listen, if the session already exists, those windows get attached to the current session instead β very much a "the more the merrier" situation πͺ-a,--attachβ force switch client for a session. like, no negotiating, we're switching π€
stop [<projectname>]
stop a tmux project session. bye bestie π it's giving closure
rm [<projectname>]
remove a project configuration. it asks for confirmation before deleting β thank god honestly, because accidental deletion is NOT the vibe π
switch [<projectname>]
switch to a tmux project session. it's literally an alias for start --attach, so same energy, shorter to type π
print
print the current session configuration as yaml to stdout. yaml girlies rise π
β EXAMPLES β
like, just look at these, they ate:
$ smug list
$ smug start blog
$ smug start blog:win1
$ smug start blog -w win1
$ smug start blog:win1,win2
$ smug stop blog
$ smug start blog --attach
$ smug print > ~/.config/smug/new_project.yml
$ smug rm blog
$ smug switch blog
the blog:win1,win2 one?? multi-window with the colon and comma syntax?? iconic π¦
π¦ AUTHOR π¦
Ivan Klymenchenko β thank you for this gift, king π
π SEE ALSO π
project homepage, go click it bestie:
https://github.com/ivaaaan/smug
πΊ LICENSE πΊ
MIT. free to use, periodt π
and that's the whole page!! smug 0.2.0, dated Mar 2021 β oldie but a goodie, still slaying in the terminal to this day πβ¨π§
π¦ where this page comes from
- nixos 26.05: smug 0.3.17
- nixpkgs unstable: smug 0.3.19
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms