mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:17:12 +08:00
Remove obsolete optimization in default binding initialization
This special case was added in fb2ed355e
(Improve fork reporting Save a
couple of forks during init, 2012-04-24) but the reason for it is gone.
This commit is contained in:
parent
dea7841611
commit
aca8058717
|
@ -180,12 +180,8 @@ end" >$__fish_config_dir/config.fish
|
|||
end
|
||||
set -g __fish_active_key_bindings "$fish_key_bindings"
|
||||
set -g fish_bind_mode default
|
||||
if test "$fish_key_bindings" = fish_default_key_bindings
|
||||
# Redirect stderr per #1155
|
||||
fish_default_key_bindings 2>/dev/null
|
||||
else
|
||||
$fish_key_bindings 2>/dev/null
|
||||
end
|
||||
# Redirect stderr per #1155
|
||||
$fish_key_bindings 2>/dev/null
|
||||
# Load user key bindings if they are defined
|
||||
if functions --query fish_user_key_bindings >/dev/null
|
||||
fish_user_key_bindings 2>/dev/null
|
||||
|
|
Loading…
Reference in New Issue
Block a user