Skip to content

How do i get the tabs to view what process is running? #1421

Answered by wez
McFrappe asked this question in Q&A
Discussion options

You must be logged in to vote

#876 is asking for a way to pull process information for a pane.
I've been resisting this because it assumes that panes are local, and with the multiplexer functionality that isn't guaranteed.

What I use for this sort of thing is configure the preexec function in my shell (I use zsh) so that it emits escape sequences that change the tab title just prior to running commands as I type them in to the shell. Since I use this on most of the systems I use, it also works for me when I log into remote systems.

Here's an excerpt from my dotfiles; this isn't the full thing because I also have a variation on the shell-integration that is mentioned in these docs in my actual dotfiles, and that is a b…

Replies: 1 comment 14 replies

Comment options

You must be logged in to vote
14 replies
@wez
Comment options

wez Jan 28, 2024
Maintainer

@Bobrokus
Comment options

@JyyHuang
Comment options

@geophpherie
Comment options

@drzbida
Comment options

Answer selected by McFrappe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants