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.

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

Classification: bypasses-shadow(bash,cd)