Przeglądaj źródła

ssh: launch new tmux session in group "ssh" after connecting

supersedes https://git.hammerle.me/fphammerle/setup/commit/d87a42de49cbefcd9436b10b542769d8aaecf414
Fabian Peter Hammerle 9 miesięcy temu
rodzic
commit
b8bf1dea55
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      config.rasi

+ 1 - 1
config.rasi

@@ -1,5 +1,5 @@
 configuration {
 	/* --hold supported by termite & kitty */
-	ssh-command: "{terminal} --hold -e {ssh-client} {host} [-p {port}]";
+	ssh-command: "{terminal} --hold -e {ssh-client} -t [-p {port}] {host} exec tmux new-session -t ssh";
 	combi-modi: "drun,ssh,run,password-store-type:~/.config/rofi/scripts/password-store-type";
 }