m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-17 15:53:39 -05:00

[fish] Merge history before searching (#3852)

Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
This commit is contained in:
ismay
2024-06-12 06:56:20 +02:00
committed by GitHub
parent 7fc13c5cfd
commit 144d55a5be
2 changed files with 6 additions and 1 deletions

View File

@@ -66,7 +66,7 @@ class Shell
end
def fish
"unset #{UNSETS.join(' ')}; FZF_DEFAULT_OPTS=\"--no-scrollbar --pointer '>' --marker '>'\" fish_history= fish"
"unset #{UNSETS.join(' ')}; rm -f ~/.local/share/fish/fzf_test_history; FZF_DEFAULT_OPTS=\"--no-scrollbar --pointer '>' --marker '>'\" fish_history=fzf_test fish"
end
end
end