From 4dafacdf9f6995212b28e561e06f2f600c4ef69a Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Thu, 18 Jan 2024 09:54:01 -0600 Subject: [PATCH] fish: name default tmux session for hostname --- home/features/cli/fish.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/features/cli/fish.nix b/home/features/cli/fish.nix index 0e1ba4c..6251854 100644 --- a/home/features/cli/fish.nix +++ b/home/features/cli/fish.nix @@ -43,7 +43,7 @@ in # Launch tmux '' if not set -q TMUX - tmux attach-session -t home || tmux new-session -s home + tmux attach-session -t $(hostname -s) || tmux new-session -s $(hostname -s) end '' + # Open command buffer in vim when alt+e is pressed