Skip to main content

shell_export_prefix

Function shell_export_prefix 

Source
pub fn shell_export_prefix(env: &EnvMap) -> String
Expand description

Build a shell export K="V" && unset K2 && ... prefix suitable for prepending to a tmux send-keys command. Values are passed unexpanded so secrets like $(passage ...) are resolved by the target pane’s shell, never appearing in the send-keys argument list or tmux scrollback.