alacritty update dynamic title
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user