[zsh] Added TRAPUSR1 to respawn shell on theme change

This commit is contained in:
Afonso Franco 2024-02-13 17:52:31 +00:00
parent 9d74c51760
commit e41c17d3eb
Signed by: afonso
SSH key fingerprint: SHA256:JiuxZNdA5bRWXPMUJChI0AQ75yC+cXY4xM0IaVwEVys

6
.zshenv Normal file
View file

@ -0,0 +1,6 @@
#This is used to reload the instance
TRAPUSR1() {
if [[ -o INTERACTIVE ]]; then
exec "${SHELL}"
fi
}