Some updates

This commit is contained in:
Marco Thomas
2021-03-28 01:19:52 +01:00
parent 9a3d18741a
commit f87f0e3b0e
4 changed files with 7 additions and 7 deletions

View File

@@ -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;%(1j,%j job%(2j|s|); ,)%~ - $TERM\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;Alacritty - %s\a" "$1"
printf "\033]0;%s\a" "$1 - $TERM"
}
;;