summaryrefslogtreecommitdiff
path: root/zshrc
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@qosmos.com>2013-10-02 16:50:41 +0200
committerHugues Hiegel <hugues.hiegel@qosmos.com>2013-10-03 18:35:01 +0200
commitd1674d74e1622ec13d09ff7c858c970460347c6e (patch)
treeebe877e60020841fa26f7d19d08e63616fbe58af /zshrc
parentb6a39dca2f679d9aa78af09ea8c3d65f1dc43ef3 (diff)
[Zsh] Kill -USR1 to reread config
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/zshrc b/zshrc
index 056f884..a2fff9b 100644
--- a/zshrc
+++ b/zshrc
@@ -26,6 +26,8 @@
ZDOTDIR=${ZDOTDIR:-~/.zsh}
mkdir -p $ZDOTDIR
+trap "source ~/.zshrc" USR1
+
# Useful environment variables which may be used
# at any time - We compute them now to avoid calling
# the required processes each time we'll need.