aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/eval.fish
diff options
context:
space:
mode:
authorGravatar liljencrantz <liljencrantz@gmail.com>2007-10-06 01:02:45 +1000
committerGravatar liljencrantz <liljencrantz@gmail.com>2007-10-06 01:02:45 +1000
commit188f0454b700ef43892de7d0cdea73c8795b4ee6 (patch)
tree3a1e564bf3bf0f9893e2ce5145c6f77375f6b253 /share/functions/eval.fish
parente55739296dee794829485a7228255ffbca445bf8 (diff)
Use IO redirection to make the eval function actually have a working stdin
darcs-hash:20071005150245-75c98-d6a6d2f6ec1690079ee30f0e9cccf61e30e14c08.gz
Diffstat (limited to 'share/functions/eval.fish')
-rw-r--r--share/functions/eval.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/eval.fish b/share/functions/eval.fish
index ef50778c..f54dee69 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