chore(zsh): Added TRAPUSR1 to respawn shell on theme change

This commit is contained in:
2024-02-13 17:52:31 +00:00
parent 34a12e6b6b
commit e99443160e

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
}