File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -308,7 +308,13 @@ selected upon loading.
308308
309309tmuxp allows ` suppress_history: false ` to override the default command /
310310suppression when building the workspace.
311- This will add the ` shell_command ` to the bash history in the pane.
311+ This will add the ` shell_command ` to the shell history in the pane.
312+ The suppression of the ` shell_command ` commands from the shell's history
313+ occurs by prefixing the commands with a space when ` suppress_history: true ` .
314+ Accordingly, this functionality depends on the shell being appropriately
315+ configured: bash requires the shell variable ` HISTCONTROL ` to be set and
316+ include either of the values ` ignorespace ` or ` ignoreboth ` (to also ignore
317+ sequential duplicate commands), and zsh requires ` setopt HIST_IGNORE_SPACE ` .
312318
313319```` {tab} YAML
314320
You can’t perform that action at this time.
0 commit comments