From 3a0c09c7e3c8c8941e2ec054196fb3eaa5cb53c2 Mon Sep 17 00:00:00 2001 From: Ivan Klymenchenko Date: Sun, 20 Dec 2020 17:35:24 +0200 Subject: [PATCH] Update README.md --- README.md | 6 +++++- main.go | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 081a759..c2dba85 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,10 @@ # Smug - tmux session manager. -Inspired by [tmuxinator](https://github.com/tmuxinator/tmuxinator) and [tmuxp](https://github.com/tmux-python/tmuxp) +Inspired by [tmuxinator](https://github.com/tmuxinator/tmuxinator) and [tmuxp](https://github.com/tmux-python/tmuxp). + +Smug automates your tmux workflow. You can create a single configuration file, and smug will create all required windows and panes for it. + +![gif](https://i.imgur.com/CfLgrz5.gif) ## Usage diff --git a/main.go b/main.go index 9a9e957..2ff9264 100644 --- a/main.go +++ b/main.go @@ -39,8 +39,10 @@ func main() { switch options.Command { case "start": + fmt.Println("Starting a new session...") err = smug.StartSession(*config, options.Windows) case "stop": + fmt.Println("Terminating session...") err = smug.StopSession(*config) default: err = fmt.Errorf("Unknown command %q", options.Command)