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

cloud (174B)


      1 #!/bin/sh
      2 host=adamsgaard.dk
      3 
      4 if test $# -eq 0; then
      5 	cat | ssh "$host" sh /dev/stdin
      6 elif test -r "$1"; then
      7 	ssh "$host" sh /dev/stdin <"$1"
      8 else
      9 	ssh "$host" "eval $*"
     10 fi