commit 41c60848c934d5854650ddc1274952c30d179fc0 parent c97303c35d37430d2dec8b4ad9d9361d0a8d019c Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Fri, 2 Apr 2021 08:07:42 +0200 irc.sh: actually use $host Diffstat:
M | .local/bin/irc.sh | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.local/bin/irc.sh b/.local/bin/irc.sh @@ -3,7 +3,7 @@ host="irc@adamsgaard.dk" cmd="tmux -u new-session -A -D -s irc irssi" if command -v mosh >/dev/null 2>&1; then - mosh irc@adamsgaard.dk -- $cmd + mosh "$host" -- $cmd else - ssh -t irc@adamsgaard.dk "$cmd" + ssh -t "$host" "$cmd" fi