From 18805bfea638a9b10403e567a5dd79770e33ef43 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Mon, 3 Oct 2022 09:41:35 -0600 Subject: [PATCH] bins/icb-irc-tunnel: link to actual tmux locartion --- bins/icb-irc-tunnel.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bins/icb-irc-tunnel.nix b/bins/icb-irc-tunnel.nix index 22dac43..f382f46 100644 --- a/bins/icb-irc-tunnel.nix +++ b/bins/icb-irc-tunnel.nix @@ -8,9 +8,9 @@ ${icbirc}/bin/icbirc -l 127.0.0.1 -s localhost -p 6645 tname="IRC" - if !tmux ls | grep -q "^''${tname}:"; then - tmux -2 new-session -d -s "''${tname}" 'weechat' - tmux -s "''${tname}" splitw -dv -b -h -l 30% 'ssh anonicb@slackers.openbsd.org' + if !${pkgs.tmux}/bin/tmux ls | grep -q "^''${tname}:"; then + ${pkgs.tmux}/bin/tmux -2 new-session -d -s "''${tname}" 'weechat' + ${pkgs.tmux}/bin/tmux -s "''${tname}" splitw -dv -b -h -l 30% 'ssh anonicb@slackers.openbsd.org' fi ${pkgs.openssh}/bin/ssh -NTL 7326:localhost:7326 \