fixup! Remove occurrences of ? as a glob

This commit is contained in:
Pablo Santiago Blum de Aguiar 2019-02-09 00:00:39 +01:00 committed by Pablo Aguiar
parent a4b2f1cfaa
commit 168ba68ccc

View File

@ -32,10 +32,11 @@ function fish_user_key_bindings
test -f $OMF_CONFIG/theme
and read -l theme < $OMF_CONFIG/theme
or set -l theme default
test -e $OMF_CONFIG/key_bindings.fish;
and source $OMF_CONFIG/key_bindings.fish
# Prepare packages key bindings paths
set -l key_bindings $OMF_CONFIG/key_binding*.fish \
{$OMF_CONFIG,$OMF_PATH}/pkg/*/key_bindings.fish \
{$OMF_CONFIG,$OMF_PATH}/themes*/$theme/key_binding.fish
set -l key_bindings {$OMF_CONFIG,$OMF_PATH}/pkg/*/key_bindings.fish \
{$OMF_CONFIG,$OMF_PATH}/themes*/$theme/key_bindings.fish
# Source all keybindings collected
for file in $key_bindings
source $file