dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles # fast
git clone https://src.adamsgaard.dk/dotfiles.git # slow
Log | Files | Refs | README | LICENSE Back to index

irc.sh (175B)


      1 #!/bin/sh
      2 host="irc@adamsgaard.dk"
      3 cmd="tmux -u new-session -A -D -s irc irssi"
      4 
      5 if command -v mosh >/dev/null 2>&1; then
      6 	mosh "$host" -- $cmd
      7 else
      8 	ssh -t "$host" "$cmd"
      9 fi