replay
replay <commands>Runs the given commands in Bash and replays any resulting environment variable, alias, and directory changes back into the current Fish session. Useful for sourcing Bash-only scripts.
Arguments: commands Bash command string to execute and replayReturns:
0 |
Commands ran successfully and changes were replayed |
1 |
Bash command exited with a non-zero status |
replay "source ~/.bashrc"replay "export FOO=bar"