From dbbd047cc61d161de40501f4b497bf0610e969da Mon Sep 17 00:00:00 2001 From: jeremiejig Date: Thu, 7 Aug 2014 23:29:25 +0200 Subject: [PATCH 1/3] Setting the correct fd when piped --- tools/install.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/install.fish b/tools/install.fish index cf783a2..408a8b0 100644 --- a/tools/install.fish +++ b/tools/install.fish @@ -65,4 +65,4 @@ echo colored green ' ....is now installed.' # Run shell after installation. -fish +fish < /dev/tty 2>&1 > /dev/tty From eb60e799af92708af059ec9a84faa34c28d034f4 Mon Sep 17 00:00:00 2001 From: jeremiejig Date: Thu, 7 Aug 2014 23:31:16 +0200 Subject: [PATCH 2/3] don't fork --- tools/install.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/install.fish b/tools/install.fish index 408a8b0..26dd61c 100644 --- a/tools/install.fish +++ b/tools/install.fish @@ -65,4 +65,4 @@ echo colored green ' ....is now installed.' # Run shell after installation. -fish < /dev/tty 2>&1 > /dev/tty +exec fish < /dev/tty 2>&1 > /dev/tty From dc46cbce7dd29d532b6b17ed0c0ee8a207cdde78 Mon Sep 17 00:00:00 2001 From: jeremiejig Date: Fri, 8 Aug 2014 01:46:01 +0200 Subject: [PATCH 3/3] Removing redirect fd 1 and 2. Well don't need all the extra redirect. normally correclty set. --- tools/install.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/install.fish b/tools/install.fish index 26dd61c..a8ff1c3 100644 --- a/tools/install.fish +++ b/tools/install.fish @@ -65,4 +65,4 @@ echo colored green ' ....is now installed.' # Run shell after installation. -exec fish < /dev/tty 2>&1 > /dev/tty +exec fish < /dev/tty