mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-22 12:03:58 +08:00
init: don't try to double backup key bindings
This commit is contained in:
parent
f79cd11899
commit
ac9b419825
|
@ -23,6 +23,7 @@ require --path {$OMF_PATH,$OMF_CONFIG}/pkg/*
|
|||
emit perf:timer:finish "Oh My Fish init installed packages"
|
||||
# Backup key bindings
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user