From 9eb496de86655bbd352819d10455f69fef0da6ac Mon Sep 17 00:00:00 2001 From: Derek Stavis Date: Tue, 5 Jul 2016 09:23:38 -0300 Subject: [PATCH] init: read theme again on key bindings reload --- init.fish | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.fish b/init.fish index e802bc8..51514fd 100644 --- a/init.fish +++ b/init.fish @@ -26,7 +26,8 @@ functions -q fish_user_key_bindings and not functions -q __original_fish_user_key_bindings and functions -c fish_user_key_bindings __original_fish_user_key_bindings # Override key bindings, calling original if existent -function fish_user_key_bindings -V theme +function fish_user_key_bindings + read -l theme < $OMF_CONFIG/theme # Prepare packages key bindings paths set -l key_bindings $OMF_CONFIG/key_binding?.fish \ {$OMF_CONFIG,$OMF_PATH}/pkg/*/key_bindings.fish \