[tmux] show current cmd in titlebar

This commit is contained in:
Marco Thomas committed 2022-12-05 00:06:50 +01:00
1 parent 402d8064c9
commit ea7e645d6a
3 files changed
+6 -24

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ case $TERM in
(*xterm* | rxvt | alacritty)
# This is seen when the shell prompts for input.
function precmd {
print -Pn "\e]0;%m: %(1j,%j job%(2j|s|) - ,)%~\a"
print -Pn "\e]0;%m: %~\a"
}
# This is seen while the shell waits for a command to complete.
function preexec {