You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Not showing the actual command running inside a tmux session #3861
That's unfortunate. I'm currently evaluating Nu, coming mostly from Fish. It's definitely different! Refreshing actually, but yeah, there are a couple of things (amongst others, this issue) that get in the way.
I'm not convinced that tmux is the culprit. I encounter this in tmux but I also encounter it without.
I gave some more details here but essentially if I have my terminal tell me the currently running process, it always says nu even if you run a process. Whereas in bash and zsh and presumably others if you launch, say, vim, the running process / title will be vim.
Activity
xanderificnl commentedon Sep 3, 2021
I'm having the same problem. Have you been able to figure this out?
norman784 commentedon Sep 3, 2021
I didn't, I switched back to zsh, there are other blockers for my every day use.
xanderificnl commentedon Sep 3, 2021
That's unfortunate. I'm currently evaluating Nu, coming mostly from Fish. It's definitely different! Refreshing actually, but yeah, there are a couple of things (amongst others, this issue) that get in the way.
For the maintainers: This is my configuration:
xanderificnl commentedon Sep 3, 2021
Tmux is the culprit. It's catching the escape sequence and not passing it through, see this comment.
This'll work to change the terminal emulator's title while in tmux:
And this'll rename the tmux window:
printf '\033k%s\033\\' 'it changed, woa!'I'm currently just setting the pane title to the last segment of the current path (more or less to test with, and I use starship.rs.):
prompt = "printf '\\033k%s\\033\\\\' (pwd | path split | last);starship_prompt"To be fair, I don't know if this is the right way, but I've spent way too much time on this issue already. So if it works... ;)
rawsp33d commentedon Apr 1, 2022
I'm not convinced that tmux is the culprit. I encounter this in tmux but I also encounter it without.
I gave some more details here but essentially if I have my terminal tell me the currently running process, it always says
nueven if you run a process. Whereas in bash and zsh and presumably others if you launch, say, vim, the running process / title will be vim.sholderbach commentedon Aug 2, 2022
Should be closed by #6206, reopen if you encounter issues on your system