replay
Synopsis
Section titled “Synopsis”replay <commands>Description
Section titled “Description”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
Section titled “Arguments”commands |
Bash command string to execute and replay |
Exit Status
Section titled “Exit Status”0 |
Commands ran successfully and changes were replayed |
1 |
Bash command exited with a non-zero status |
Example
Section titled “Example”replay "source ~/.bashrc"replay "export FOO=bar"Classification: bypasses-shadow(bash,cd)