diff options
author | Franck Cuny <franck@fcuny.net> | 2022-04-13 10:01:29 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-04-13 10:01:29 -0700 |
commit | fc54399ab9b348bf1dce259f2f8e2f09ce8dbe24 (patch) | |
tree | 58cd82575061f137005bc581b69296ccae033168 | |
parent | backups: rename system to host (diff) | |
download | world-fc54399ab9b348bf1dce259f2f8e2f09ce8dbe24.tar.gz |
fish: start tmux on terminal start
-rw-r--r-- | home/fish/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
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 ''; }; } |