smug(1)

πŸ“¦ version 0.3.19, in nixos 26.05, nixpkgs unstable

πŸ’… 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.log so 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