mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-31 14:01:47 +00:00
Don't use the `-f` switch of `string split`, because it was added in fish version 3.2.0.
This commit is contained in:
parent
ca5e633399
commit
b2c3e567da
@ -57,8 +57,8 @@ function fzf_key_bindings
|
|||||||
function fzf-history-widget -d "Show command history"
|
function fzf-history-widget -d "Show command history"
|
||||||
test -n "$FZF_TMUX_HEIGHT"; or set FZF_TMUX_HEIGHT 40%
|
test -n "$FZF_TMUX_HEIGHT"; or set FZF_TMUX_HEIGHT 40%
|
||||||
begin
|
begin
|
||||||
set -l FISH_MAJOR (string split -f 1 -- '.' $version)
|
set -l FISH_MAJOR (string split -- '.' $version)[1]
|
||||||
set -l FISH_MINOR (string split -f 2 -- '.' $version)
|
set -l FISH_MINOR (string split -- '.' $version)[2]
|
||||||
|
|
||||||
# merge history from other sessions before searching
|
# merge history from other sessions before searching
|
||||||
test -z "$fish_private_mode"; and builtin history merge
|
test -z "$fish_private_mode"; and builtin history merge
|
||||||
|
Loading…
Reference in New Issue
Block a user