Skip to content

replay

Usage
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 replay

Returns:

0 Commands ran successfully and changes were replayed
1 Bash command exited with a non-zero status
Examples
replay "source ~/.bashrc"
replay "export FOO=bar"