diff options
author | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2013-10-02 16:50:41 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2013-10-03 18:35:01 +0200 |
commit | d1674d74e1622ec13d09ff7c858c970460347c6e (patch) | |
tree | ebe877e60020841fa26f7d19d08e63616fbe58af | |
parent | b6a39dca2f679d9aa78af09ea8c3d65f1dc43ef3 (diff) |
[Zsh] Kill -USR1 to reread config
-rw-r--r-- | user:hugues/GusBindings.zsh | 2 | ||||
-rw-r--r-- | zshrc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/user:hugues/GusBindings.zsh b/user:hugues/GusBindings.zsh index 4d3ede3..751fb5e 100644 --- a/user:hugues/GusBindings.zsh +++ b/user:hugues/GusBindings.zsh @@ -241,7 +241,7 @@ do bindkey -M $keymap -s '^[S' '^[Q sudo !!' - bindkey -M $keymap -s '^[X' '^[Q exec zsh -l\n' + bindkey -M $keymap -s '^[X' '^[Q kill -USR1 $$\n' bindkey -M $keymap -s '^[^[OA' 'up-line-or-history' bindkey -M $keymap -s '^[^[OB' 'down-line-or-history' @@ -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. |