mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-22 12:03:58 +08:00
init: read theme again on key bindings reload
This commit is contained in:
parent
ac9b419825
commit
9eb496de86
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue
Block a user