Hi all,

If you are using the development builds of fish, or building it yourself 
from the git sources, please be aware that I am about to merge a change to 
the default syntax.

The use of the caret character (^) to redirect standard error has been 
available in fish for a long time, but has gradually been reduced in when 
it is legal in fish syntax [1][2].

Extensive discussion [3] has led to a general consensus that it is no 
longer a useful part of the fish syntax, and it has been slated for 
deprecation for some years (see the release notes for fish 3.0b1 and 
3.2.0).

As such, I am merging a commit that will flip the default behaviour to 
ignoring '^' as a special redirection. You can still get the old behaviour 
by changing a feature flag (`set -U fish_features no-stderr-nocaret 
$fish_features` and restarting fish will do it), but all scripts should 
use the '2>' syntax instead of '^'.

The current plan is to have this change released in fish 3.3.0, and then 
at some stage to make it permanent (ie not controlled by a feature flag).

If you have any feedback, please feel free to comment at 
https://github.com/fish-shell/fish-shell/issues/7105

Thanks,

David Adam
fish committer

[1]: https://github.com/fish-shell/fish-shell/issues/168
[2]: https://github.com/fish-shell/fish-shell/issues/1873
[3]: https://github.com/fish-shell/fish-shell/issues/4394


_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to