diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..3a55af8 Binary files /dev/null and b/.DS_Store differ diff --git a/controller/tmux.go b/controller/tmux.go index cc2b8f0..8057f9e 100644 --- a/controller/tmux.go +++ b/controller/tmux.go @@ -26,7 +26,8 @@ func CreateTmuxSession(config *projectconfig.Configuration) error { log.Debug("Ran command", "command", switchSessionCmd.String()) } else { // If it doesn't exist, create the session - createSessionCmd := exec.Command("tmux", "new-session", "-d", "-s", sessionName) + createSessionCmd := exec.Command("tmux", "new-session", "-d", "-s", sessionName, "-c", config.WorkingDir) + // createSessionCmd := exec.Command("tmux", "new-session", "-d", "-s", sessionName) if err := createSessionCmd.Run(); err != nil { return err }