From 9a3d18741a2c48253daabc06035603c7ca9a3772 Mon Sep 17 00:00:00 2001 From: Marco Thomas Date: Sat, 27 Mar 2021 12:40:05 +0100 Subject: [PATCH] alacritty update dynamic title --- files/.zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/.zshrc b/files/.zshrc index 9e845b6..c3fd2fa 100644 --- a/files/.zshrc +++ b/files/.zshrc @@ -29,12 +29,12 @@ case $TERM in # Write some info to terminal title. # This is seen when the shell prompts for input. function precmd { - print -Pn "\e]0;Alacritty@%(1j,%j job%(2j|s|); ,)%~\a" + print -Pn "\e]0;Alacritty - %(1j,%j job%(2j|s|); ,)%~\a" } # Write command and args to terminal title. # This is seen while the shell waits for a command to complete. function preexec { - printf "\033]0;%s\a" "$1" + printf "\033]0;Alacritty - %s\a" "$1" } ;;