aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/fish_default_key_bindings.fish
diff options
context:
space:
mode:
authorGravatar Konrad Borowski <x.fix@o2.pl>2014-08-30 11:18:49 +0200
committerGravatar Konrad Borowski <x.fix@o2.pl>2014-08-30 11:18:56 +0200
commit1d0279eac5f37fd4ec453b0151274ab3300da817 (patch)
treef5eddb7d2c6c114af917ce20c3119cd764382340 /share/functions/fish_default_key_bindings.fish
parentf8b21fe1993382a4e64d7d3f4ddcf04ed642f888 (diff)
Fix F1 binding to work with multiple tokens.
Diffstat (limited to 'share/functions/fish_default_key_bindings.fish')
-rw-r--r--share/functions/fish_default_key_bindings.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/fish_default_key_bindings.fish b/share/functions/fish_default_key_bindings.fish
index 62c995c2..d33f7b53 100644
--- a/share/functions/fish_default_key_bindings.fish
+++ b/share/functions/fish_default_key_bindings.fish
@@ -112,7 +112,7 @@ function fish_default_key_bindings -d "Default (Emacs-like) key bindings for fis
bind \ed kill-word
# Allow reading manpages by pressing F1
- bind $argv -k f1 'man (basename (commandline -po; echo))[1] ^/dev/null; or echo -n \a'
+ bind $argv -k f1 'man (basename (commandline -po; echo)[1]) ^/dev/null; or echo -n \a'
# This will make sure the output of the current command is paged using the less pager when you press Meta-p
bind $argv \ep '__fish_paginate'