From a34692e3ffe1da0b811dd2466ac1c5846a498c6b Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Tue, 2 Apr 2024 23:57:30 +0200 Subject: [PATCH] [zsh] autostart tmux --- nix/home/zsh/zsh.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/nix/home/zsh/zsh.nix b/nix/home/zsh/zsh.nix index 772fa9c..4c685ee 100644 --- a/nix/home/zsh/zsh.nix +++ b/nix/home/zsh/zsh.nix @@ -22,10 +22,15 @@ # oh-my-zsh oh-my-zsh = { enable = true; - plugins = [ "git" ]; + plugins = [ "git" "tmux" ]; theme = "bira"; }; + # zsh env + envExtra = '' + ZSH_TMUX_AUTOSTART=true; + ''; + # aliasses shellAliases = { @@ -55,7 +60,7 @@ umount-media = "sudo umount /home/simon/remotedir/media"; umount-siempie = "sudo umount /home/simon/remotedir/siempie"; - }; }; } +