From f5d3109d861e81578b4fd399d69705df126f1aa0 Mon Sep 17 00:00:00 2001 From: James Hillyerd Date: Wed, 11 Jun 2014 09:27:46 -0700 Subject: [PATCH] OS X `head` command does not support `-` argument for STDIN --- plugins/proxy/proxy.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/proxy/proxy.fish b/plugins/proxy/proxy.fish index 5a8a75d..ede4018 100644 --- a/plugins/proxy/proxy.fish +++ b/plugins/proxy/proxy.fish @@ -13,7 +13,7 @@ function proxy -d "Setup proxy environment variables" # Hacky way to read password in fish echo -n 'Proxy Password: ' stty -echo - head -n 1 - | read -l pass + head -n 1 | read -l pass stty echo echo # URL encode password