From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,MISSING_HEADERS,RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 352 invoked from network); 1 Oct 2021 13:26:19 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 1 Oct 2021 13:26:19 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1633094779; b=c/2TS+75EyrcQ9rdRYgbJyzhDDHX+Bas4QEn4ZHzZ4s84HjpKH2nIKpm1A2RHbY/fqs6ilreO7 +fuf7ZGZImCiIfGdILzbvbEnrnvssXdtjdF1OUu/xCtbNo0LzjiGVovpUwkdZZcdIlHJd16rzw wD3RpHERGVpzGtJuPPYYoZLlYhB28Z2zk8AF1f/U2dWuqP9r/1KEsQK4e6lf4cH/13Pqr2/2TP j6MMEL1VuzUMXtftPOogedoQp6fo62JVcWRPKKndSJ+qS/pTSFMv4EXYy5XYUyq5e4EFsG3js4 856AkRfF4SC/DR0dju3hfQTYN59h+lxNpilgtkKGrRfgbQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (aurora-borealis.phear.org) smtp.remote-ip=188.42.45.194; dkim=pass header.d=phear.org header.s=20180217 header.a=rsa-sha256; dmarc=none header.from=phear.org; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1633094779; bh=eYilFS3Z0H2vvBA09f9DTuE8AzoL3UQgbYKQfq4AsZ8=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:From:Date:DKIM-Signature: DKIM-Signature; b=KozvV15vwrZ7LIM/gYJx3jpOvBNMTWlBZTGh3YNph00WPfEdQIbx/vNtSQ02hVyww64rzI7w7j 1ZKCAHBqKvp7sKhi1wtJI8+dBso+jOE5fWPCfzweMGoJjHFEruRUy4xYfoSk8mbK3zQ6uoTyC2 IsgzXGH0NNGgqhShoY4g2acQDiLe8ax7bilpS5mM8/UJ0g15lM0bgAKozYuUWUS+L5D7/Y9QvY 2Oo6KRtv7vonO7eWrN8rL9RMVp37TgFPgj98LWVQMRHMyMf6CN712qSR7mnJYwzq2GNX4g+UFZ nrHuPpyNHYvPRnULXlIGVKy6KBo92S5kDVPaghwSg6cUng==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:Cc:From:Date: Reply-To:To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=F5I0GMO1qkuCNr0hzRUwgB/0IBkHzm6sM0OHc5gERWg=; b=aQmsy6KNpJpppCUmeZYGo+kkOX fKZfdjPSQ6CJr0gSG40uYHVnWtnR35nqEA1nx4jw/aT3BsOvzXhHOBAvfPRq0pscr1N4eCwu/gz/H OWcP32P1dwanqo5HoQavH/lYltsL2V/+axvojixj36nNhbSvcTCztWdP6/oCLxdBKPFd5+pCW12gX GD5jf/+dbx/l9aVvo2OBrkG2pOnIRnD97W7pm5ATbpfjAWMu6Iv7lMjA9KjN7Rj5bKtjBFYPkunjX 4D3SvtbJAyd4oyAekNUYMGh6yO2PfkiuBEllhmQY0Bve/57bg7m9FEHx6tRZBwNDoBpnJbyRdW6lf aWHRPNIg==; Received: from authenticated user by zero.zsh.org with local id 1mWIYM-000NOz-MV; Fri, 01 Oct 2021 13:26:18 +0000 Authentication-Results: zsh.org; iprev=pass (aurora-borealis.phear.org) smtp.remote-ip=188.42.45.194; dkim=pass header.d=phear.org header.s=20180217 header.a=rsa-sha256; dmarc=none header.from=phear.org; arc=none Received: from aurora-borealis.phear.org ([188.42.45.194]:43984) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1mWIXf-000Mgq-1n; Fri, 01 Oct 2021 13:25:35 +0000 Received: from localhost (unknown [127.0.0.1]) by aurora-borealis.phear.org (Postfix) with ESMTP id 1CFF11040B for ; Fri, 1 Oct 2021 13:25:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at phear.org Received: from aurora-borealis.phear.org ([127.0.0.1]) by localhost (mail.phear.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yCNaYN9I2-Wp for ; Fri, 1 Oct 2021 13:25:14 +0000 (UTC) Received: from prometheus.u-strasbg.fr (82-65-50-238.subs.proxad.net [82.65.50.238]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: khatar) by aurora-borealis.phear.org (Postfix) with ESMTPSA id 295F810417 for ; Fri, 1 Oct 2021 13:25:14 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 aurora-borealis.phear.org 295F810417 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=phear.org; s=20180217; t=1633094714; bh=eYilFS3Z0H2vvBA09f9DTuE8AzoL3UQgbYKQfq4AsZ8=; h=Date:From:Cc:Subject:References:In-Reply-To:From; b=HiGql4xPfUCSy5rHYYrfYtkYqaroNabr4WGq22LWSGePUBLm7Thhbv6I9n7zWAp8M eNvksRvStX9U9iE7okQo8NnInq+PP7ZLWCce5FwhVG13lm+QUs2OGcm2CC37/8v3DH 5b3amWNIllzIJnm9GGsqe/NaKrxvnqyeyhlxwMk/Xry5haxQ9dvXhdtKaIo7P3PbMU LsHYi2BygjCJj8M67TYRt5Lm3Jbs6xfKPB8oZPB8btoe17cAoVoXZo+BTB0VK8yhsm /dDJbe5rlF0R7Z4SknONV4m6a181+dZwHzjvESwY1PyuxwAmJtWvX75fD5V+beP3Ey 4MFV+1ruuYXeQ== Date: Fri, 1 Oct 2021 15:25:07 +0200 From: Marc Chantreux Cc: Zsh-Users List Subject: Re: zsh : launch tmux in just one terminal Message-ID: References: <25394e2a-e7cd-3f24-a3e6-867b9e49b41f@rayninfo.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <25394e2a-e7cd-3f24-a3e6-867b9e49b41f@rayninfo.co.uk> X-Seq: 27200 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: hello, > I would like to my first invocation of a 'Gnome terminal' on Linux mint  to > automatically launch tmux but not for any subsequent consoles > My more generic question is how can consoles share information? They just don't: consoles are just devices, not programs. The way i deal with it is to create specific way to call terminal via desktop files. in my /home/mc/.local/share/applications, i have ---[ tmux_attach.desktop [Desktop Entry] Comment=terminal multiplexer Exec=tilix -e tmux att Icon=mksh32 Name=attach tmux session Type=Application ---[ tmux_back.desktop [Desktop Entry] Comment=terminal multiplexer Exec=tilix -e zsh -ic 'c&&tmux' Icon=mksh32 Name=cd back with tmux Type=Application ---[ tmux_session.desktop [Desktop Entry] Comment=terminal multiplexer Name=new tmux session Exec=tilix -e tmux Icon=mksh32 Type=Application Note 1: c is just a command i wrote to navigate in a MRU directories list. it's basically cd $( fzf < ~/.was-pwd ) regards marc