aboutsummaryrefslogtreecommitdiffhomepage
path: root/share
diff options
context:
space:
mode:
authorGravatar adisbladis <adis@blad.is>2012-06-05 19:49:48 +0200
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-06-10 00:21:11 -0700
commit9f563f4873c55144c7094065b7dd4d49fb31e042 (patch)
tree02123dd3b77d2a0a077fcb473c08470792611320 /share
parentca61d0ee8bd5e732b87d8b4b2e748c27e4c7d31f (diff)
Introduced fish_user_keybindings
Diffstat (limited to 'share')
-rw-r--r--share/functions/__fish_config_interactive.fish4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/functions/__fish_config_interactive.fish b/share/functions/__fish_config_interactive.fish
index c5722340..4bb5fe23 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