commit b8ef88e1e677b6f8cbe48e6385db4177201b5fe0 parent a0f4c89ce73bb1cbc10bf6fadc8960e799a7cc2e Author: William Casarin <jb55@jb55.com> Date: Wed, 3 Mar 2021 06:38:16 -0800 btc: allow remote usage Diffstat:
M | bin/btc | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/bin/btc b/bin/btc @@ -3,4 +3,8 @@ cmd=${1:-price} shift +if [ $HOSTNAME != "monad" ]; then + exec ssh monad env PATH=/home/jb55/bin:\$PATH btc-$cmd "$@" +fi + exec btc-$cmd "$@"