From 77b13d02f0913237aa1cb791d334d4608f31e70d Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 17 Aug 2013 17:00:15 -0700 Subject: [PATCH] Fix "." function to not shadow scopes, so the tests pass again. Remove eval's use of "." function. --- 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 432364ea5..52dee178d 100644 --- a/share/functions/eval.fish +++ b/share/functions/eval.fish @@ -20,7 +20,7 @@ function eval -S -d "Evaluate parameters as a command" status --job-control full end - echo "begin; $argv ;end eval2_inner <&3 3<&-" | . 3<&0 + echo "begin; $argv ;end eval2_inner <&3 3<&-" | source 3<&0 set -l res $status status --job-control $mode