diff options
| author | bitraid <bitraid@protonmail.ch> | 2024-12-20 03:05:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-20 10:05:09 +0900 |
| commit | b2c3e567dadd35253bbccaf4e69c9dc352d36304 (patch) | |
| tree | 26f73c2ab28abef78031c0730d538c5b0b460464 | |
| parent | ca5e633399e19f71f102a8df195e2f63a8a42137 (diff) | |
| download | fzf-b2c3e567dadd35253bbccaf4e69c9dc352d36304.tar.gz | |
[fish] Partly revert change of 0167691 (#4137)
Don't use the `-f` switch of `string split`, because it was added in
fish version 3.2.0.
| -rw-r--r-- | shell/key-bindings.fish | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/key-bindings.fish b/shell/key-bindings.fish index b1c36896..cedf3f2c 100644 --- a/shell/key-bindings.fish +++ b/shell/key-bindings.fish @@ -57,8 +57,8 @@ function fzf_key_bindings function fzf-history-widget -d "Show command history" test -n "$FZF_TMUX_HEIGHT"; or set FZF_TMUX_HEIGHT 40% begin - set -l FISH_MAJOR (string split -f 1 -- '.' $version) - 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] # merge history from other sessions before searching test -z "$fish_private_mode"; and builtin history merge |
