From e99443160ecb8d4bc4a6f1e995f98a550f3648be Mon Sep 17 00:00:00 2001 From: afranco Date: Tue, 13 Feb 2024 17:52:31 +0000 Subject: [PATCH] chore(zsh): Added TRAPUSR1 to respawn shell on theme change --- .zshenv | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .zshenv diff --git a/.zshenv b/.zshenv new file mode 100644 index 0000000..a169cd3 --- /dev/null +++ b/.zshenv @@ -0,0 +1,6 @@ +#This is used to reload the instance +TRAPUSR1() { + if [[ -o INTERACTIVE ]]; then + exec "${SHELL}" + fi +}