From 1e2e511570cbdff43a70d91f82c8d5d89f0e9674 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Sun, 15 Mar 2020 20:59:49 +0100 Subject: [PATCH] fish_default_key_bindings: Remove outdated stderr silencing We *always* silence `bind` here, so we don't need to specifically silence for these keys. --- share/functions/fish_default_key_bindings.fish | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/share/functions/fish_default_key_bindings.fish b/share/functions/fish_default_key_bindings.fish index 6b1935b46..47ffc6f9b 100644 --- a/share/functions/fish_default_key_bindings.fish +++ b/share/functions/fish_default_key_bindings.fish @@ -56,9 +56,8 @@ function fish_default_key_bindings -d "Default (Emacs-like) key bindings for fis bind --preset $argv \e\[3~ delete-char bind --preset $argv \e\[4~ end-of-line - # OS X SnowLeopard doesn't have these keys. Don't show an annoying error message. - bind --preset $argv -k home beginning-of-line 2>/dev/null - bind --preset $argv -k end end-of-line 2>/dev/null + bind --preset $argv -k home beginning-of-line + bind --preset $argv -k end end-of-line bind --preset $argv \e\[3\;2~ backward-delete-char # Mavericks Terminal.app shift-ctrl-delete bind --preset $argv \ca beginning-of-line