Fix for Linux and make consistent

This commit is contained in:
Loic Nageleisen 2021-03-02 12:41:07 +01:00
parent e317caaa8f
commit 9ca56d83c7
42 changed files with 106 additions and 52 deletions

View file

@ -15,7 +15,7 @@ fi
set_term_title() {
case $TERM in
xterm*|rxvt*)
xterm*|rxvt*|alacritty)
local title="\033]2;$USER@${HOSTNAME%%.*}:${PWD/#$HOME/~}\a"
;;
*)
@ -25,4 +25,4 @@ set_term_title() {
printf "$title"
}
# vim: ft=sh
# vim: ft=bash