From fc54399ab9b348bf1dce259f2f8e2f09ce8dbe24 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 13 Apr 2022 10:01:29 -0700 Subject: fish: start tmux on terminal start --- home/fish/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'home/fish') diff --git a/home/fish/default.nix b/home/fish/default.nix index ffb8f31..a3a5e1e 100644 --- a/home/fish/default.nix +++ b/home/fish/default.nix @@ -8,6 +8,12 @@ in { enable = true; interactiveShellInit = '' set fish_greeting + + # Tmux on terminal start + if status is-interactive + and not set -q TMUX + exec tmux + end ''; }; } -- cgit 1.4.1