We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca5e633 commit b2c3e56Copy full SHA for b2c3e56
shell/key-bindings.fish
@@ -57,8 +57,8 @@ function fzf_key_bindings
57
function fzf-history-widget -d "Show command history"
58
test -n "$FZF_TMUX_HEIGHT"; or set FZF_TMUX_HEIGHT 40%
59
begin
60
- set -l FISH_MAJOR (string split -f 1 -- '.' $version)
61
- set -l FISH_MINOR (string split -f 2 -- '.' $version)
+ set -l FISH_MAJOR (string split -- '.' $version)[1]
+ set -l FISH_MINOR (string split -- '.' $version)[2]
62
63
# merge history from other sessions before searching
64
test -z "$fish_private_mode"; and builtin history merge
0 commit comments