Add fish completion support (#4605)

This commit is contained in:
LM authored and GitHub committed 2026-02-05 12:50:26 +09:00
1 parent f9f0014c16
commit 7e62b34087
11 files changed
+1120 -141

No files matched your search

+4 -1
View File
@@ -29,6 +29,9 @@ var zshCompletion []byte
//go:embed shell/key-bindings.fish
var fishKeyBindings []byte
//go:embed shell/completion.fish
var fishCompletion []byte
//go:embed man/man1/fzf.1
var manPage []byte
@@ -65,7 +68,7 @@ func main() {
}
if options.Fish {
printScript("key-bindings.fish", fishKeyBindings)
fmt.Println("fzf_key_bindings")
printScript("completion.fish", fishCompletion)
return
}
if options.Help {