Skip to content

Commit

Permalink
[fish] Partly revert change of 0167691 (#4137)
Browse files Browse the repository at this point in the history
Don't use the `-f` switch of `string split`, because it was added in
fish version 3.2.0.
  • Loading branch information
bitraid authored Dec 20, 2024
1 parent ca5e633 commit b2c3e56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shell/key-bindings.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b2c3e56

Please sign in to comment.