Strange leading whitespace before shell command
Opened this issue ยท 2 comments
raine commented
session_name: helloworld
windows:
- window_name: dev
start_directory: /home/parallels
panes:
- shell_command: "echo foo"
- shell_command: "echo bar"
If you press up to get the previous command, there is leading whitespace in the command, so it's not just a rendering issue.
tmuxp 1.55.0, libtmux 0.46.0
raine commented
It appears to be a side effect of history suppression. If I do suppress_history: false I don't see the issue.
session_name: helloworld
windows:
- window_name: dev
suppress_history: false
start_directory: /home/parallels
panes:
- shell_command: "echo foo"
- shell_command: "echo bar"
tony commented
Hi ๐ !
Yes, this is part of suppress_history - to make it so those automated commands aren't impacting shell history, at least for zsh.
If you have a preference for a better behavior in regards to tmuxp commands not impacting shell history, I am all ears. It has been some time since that topic has been visited.
