mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Fix #684 by putting newline after $argv
It's rather hacky, but it sort of works. (but then, this makes fish compare to PHP (but PHP doesn't put that newline), so perhaps I shouldn't do that - http://git.io/GFurbg)
This commit is contained in:
parent
88efc73797
commit
2979d3bf16
1 changed files with 1 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
function eval -S -d "Evaluate parameters as a command"
|
function eval -S -d "Evaluate parameters as a command"
|
||||||
|
|
||||||
# If we are in an interactive shell, eval should enable full
|
# 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
|
status --job-control full
|
||||||
end
|
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
|
set -l res $status
|
||||||
|
|
||||||
status --job-control $mode
|
status --job-control $mode
|
||||||
|
|
Loading…
Reference in a new issue