When using a "here doc" in Bash type text, after the end of here doc, the color won't change back.
It's normal in Z shell.
Seems it just can not use "|" or ">" after EOF, it's normal without "|" or ">".
After more test, it turns out that no character is allowed after "EOF".
----------------------
hello world
cat <<EOF | tee /tmp/test
test test test
test test test
EOF
hello
hello world
hello world
FIXED: Incorrect color in Bash text when using "here doc"
-
- Posts: 3
- Joined: 12 May 2022 04:30
- Rickard Johansson
- Site Admin
- Posts: 6628
- Joined: 19 Jul 2006 14:29
Re: Incorrect color in Bash text when using "here doc"
Fixed in next release (v15.52). Thanks!