From 5f650f3dda69462f4563cdb7b06370ad422fd4ad Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 10 Dec 2015 11:49:45 +0100 Subject: [PATCH 1/1] only special-case fishbowl on fishbowl --- .ssh/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.ssh/Makefile b/.ssh/Makefile index 111d692..1569b26 100644 --- a/.ssh/Makefile +++ b/.ssh/Makefile @@ -65,4 +65,7 @@ config: $(LOCAL_CONFIG) config.in $@ \ ;; \ esac; \ - sed -i -re '/^Host fishbowl/,/^[[:space:]]*ProxyCommand/s/ProxyCommand.*/Host localhost/' $@ + case "$$HOSTNAME" in \ + (fishbowl) \ + sed -i -re '/^Host fishbowl/,/^[[:space:]]*ProxyCommand/s/ProxyCommand.*/Host localhost/' $@; \ + esac -- 2.39.5