From 18dd30f1019208b4a3276cf40fc2a28f042dcbb4 Mon Sep 17 00:00:00 2001 From: Valerie Wolfe Date: Thu, 6 Jun 2024 14:04:26 -0400 Subject: [PATCH] made nest prevent message more helpful --- src/util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.rs b/src/util.rs index c3ca71f..986af11 100644 --- a/src/util.rs +++ b/src/util.rs @@ -28,7 +28,7 @@ pub fn get_sessions() -> Option> { /// show the tmux nest text if env var is not unset pub fn prevent_nest() { if env::tmux() { - println!("Sessions should be nested with care; unset TMUX or use the '-n' flag to allow."); + println!("To nest sessions, use the -n flag."); exit(6); } }