chore(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 34a12e6b6b
commit e99443160e
Signed by: afonso
SSH key fingerprint: SHA256:gkVPzsQQJzqi21ntQBV6pXTx4bYI53rFGI4XtvCpwd4

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
}