aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--share/functions/eval.fish3
1 files changed, 1 insertions, 2 deletions
diff --git a/share/functions/eval.fish b/share/functions/eval.fish
index 52dee178..19f20731 100644
--- a/share/functions/eval.fish
+++ b/share/functions/eval.fish
@@ -1,4 +1,3 @@
-
function eval -S -d "Evaluate parameters as a command"
# If we are in an interactive shell, eval should enable full
@@ -20,7 +19,7 @@ function eval -S -d "Evaluate parameters as a command"
status --job-control full
end
- echo "begin; $argv ;end eval2_inner <&3 3<&-" | source 3<&0
+ echo "begin; $argv "\n" ;end eval2_inner <&3 3<&-" | source 3<&0
set -l res $status
status --job-control $mode