diff --git a/pkg/omf/functions/themes/omf.theme.set.fish b/pkg/omf/functions/themes/omf.theme.set.fish index bb1a71f..0edd03f 100644 --- a/pkg/omf/functions/themes/omf.theme.set.fish +++ b/pkg/omf/functions/themes/omf.theme.set.fish @@ -34,7 +34,7 @@ function omf.theme.set -a target_theme # Reload fish key bindings if reload is available and needed functions -q __fish_reload_key_bindings - and test (count {$OMF_CONFIG,$OMF_PATH}/key_binding*.fish) -gt 0 + and test -e $OMF_CONFIG/key_bindings.fish -o -e $OMF_PATH/key_bindings.fish and __fish_reload_key_bindings # Persist the changes