From 9f563f4873c55144c7094065b7dd4d49fb31e042 Mon Sep 17 00:00:00 2001 From: adisbladis Date: Tue, 5 Jun 2012 19:49:48 +0200 Subject: [PATCH] Introduced fish_user_keybindings --- share/functions/__fish_config_interactive.fish | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/share/functions/__fish_config_interactive.fish b/share/functions/__fish_config_interactive.fish index c57223405..4bb5fe23e 100644 --- a/share/functions/__fish_config_interactive.fish +++ b/share/functions/__fish_config_interactive.fish @@ -204,6 +204,10 @@ function __fish_config_interactive -d "Initializations that should be performed # Do something nasty to avoid two forks if test "$fish_key_bindings" = fish_default_key_bindings fish_default_key_bindings + #Load user keybindings if they are defined + if type fish_user_keybindings > /dev/null + fish_user_keybindings + end else eval $fish_key_bindings ^/dev/null end