diff options
-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. |