Commit ac9b4198 authored by Derek Stavis's avatar Derek Stavis

init: don't try to double backup key bindings

parent f79cd118
...@@ -23,6 +23,7 @@ require --path {$OMF_PATH,$OMF_CONFIG}/pkg/* ...@@ -23,6 +23,7 @@ require --path {$OMF_PATH,$OMF_CONFIG}/pkg/*
emit perf:timer:finish "Oh My Fish init installed packages" emit perf:timer:finish "Oh My Fish init installed packages"
# Backup key bindings # Backup key bindings
functions -q fish_user_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 and functions -c fish_user_key_bindings __original_fish_user_key_bindings
# Override key bindings, calling original if existent # Override key bindings, calling original if existent
function fish_user_key_bindings -V theme function fish_user_key_bindings -V theme
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment