[zsh] Added TRAPUSR1 to respawn shell on theme change
This commit is contained in:
parent
9d74c51760
commit
e41c17d3eb
1 changed files with 6 additions and 0 deletions
6
.zshenv
Normal file
6
.zshenv
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#This is used to reload the instance
|
||||||
|
TRAPUSR1() {
|
||||||
|
if [[ -o INTERACTIVE ]]; then
|
||||||
|
exec "${SHELL}"
|
||||||
|
fi
|
||||||
|
}
|
Loading…
Reference in a new issue