From ed67fa7a39ca5f4c77377a6ada9d1900b1dbfd90 Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Mon, 8 May 2023 16:38:40 -0500 Subject: feat: add flag to exclude attached tmux session --- src/config.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs index df31de4..c504590 100644 --- a/src/config.rs +++ b/src/config.rs @@ -18,6 +18,10 @@ pub struct Config { #[arg(short = 'T', long = "sessions")] pub tmux_sessions: bool, + /// Exclude currently attached tmux session from output + #[arg(long)] + pub exclude_attached: bool, + /// Include arbitrary directories in output /// /// Note: Directories added by this flag are still filtered and sorted based on supplied -- cgit v1.2.3-70-g09d2