There's a feature of bash that allows one to set redirections for the current shell. It's used by running exec without a command.
If only redirections are given, the redirections affect the current shell without executing any program.
I've searched and as far as I can tell this is not possible with fish.
There's a feature of bash that allows one to set redirections for the current shell. It's used by running
execwithout a command.I've searched and as far as I can tell this is not possible with fish.