Expand description
Bash command passthrough execution with environment diffing.
Runs commands in a bash subprocess, captures environment changes, and
prints fish set commands to synchronize the fish shell’s state.
Functions§
- bash_
exec - Execute a command through bash with streaming output, then print environment changes as fish commands to stdout.
- bash_
exec_ env_ diff - Execute a command through bash and only print environment diff as fish commands. No command output is shown — both stdout and stderr are suppressed. Used to source bash scripts and capture their environment side effects.
- bash_
exec_ with_ state - Execute a command through bash with state file persistence.