mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-04 15:51:15 -03:00
Remove caret redirection
This removes the caret as a shorthand for redirecting stderr. Note that stderr may be redirected to a file via 2>/some/path... and may be redirected with a pipe via 2>|. Fixes #4394
This commit is contained in:
@@ -88,7 +88,7 @@ if begin; rm -rf test6.tmp.dir; and mkdir test6.tmp.dir; end
|
||||
end
|
||||
popd
|
||||
if begin
|
||||
set -l PATH $PWD/test6.tmp.dir $PATH ^/dev/null
|
||||
set -l PATH $PWD/test6.tmp.dir $PATH 2>/dev/null
|
||||
complete -C$dir | grep "^$dir/.*Directory" >/dev/null
|
||||
end
|
||||
echo "incorrect implicit cd from PATH"
|
||||
|
||||
Reference in New Issue
Block a user