Bring back caret redirections under a feature flag

This partially reverts 5b489ca30f, with
carets acting as redirections unless the stderr-nocaret flag is set.
This flag is off by default but may be enabled on the command line:

fish --features stderr-nocaret
This commit is contained in:
ridiculousfish
2018-04-24 15:53:30 -07:00
parent 8a96f283ba
commit 902af26253
8 changed files with 62 additions and 18 deletions

View File

@@ -0,0 +1 @@
--features 'no-stderr-nocaret' -c 'echo -n careton:; echo ^/dev/null'

View File

@@ -0,0 +1 @@
careton:

View File

@@ -0,0 +1 @@
--features ' stderr-nocaret' -c 'echo -n "caretoff: "; echo ^/dev/null'

View File

@@ -0,0 +1 @@
caretoff: ^/dev/null