From 188f0454b700ef43892de7d0cdea73c8795b4ee6 Mon Sep 17 00:00:00 2001 From: liljencrantz Date: Sat, 6 Oct 2007 01:02:45 +1000 Subject: [PATCH] Use IO redirection to make the eval function actually have a working stdin darcs-hash:20071005150245-75c98-d6a6d2f6ec1690079ee30f0e9cccf61e30e14c08.gz --- share/functions/eval.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/eval.fish b/share/functions/eval.fish index ef50778ce..f54dee69b 100644 --- a/share/functions/eval.fish +++ b/share/functions/eval.fish @@ -1,4 +1,4 @@ function eval -S -d "Evaluate parameters as a command" - echo $argv | . + echo begin\; $argv \;end eval2_inner \<\&3 3\<\&- | . 3<&0 end