nushell: Rename duplicate __fzf_defaults in completion.nu
Before adoption: this commit came in with the history the project adopted, so no landing records it.
`fzf --nushell` concatenates key-bindings.nu and completion.nu, both of which defined `__fzf_defaults`, causing the resulting autoload file to fail parsing: Error: nu::parser::duplicate_command_def x Duplicate command definition within a block. ,-[/Users/jg/.config/nushell/autoload/_fzf_integration.nu:211:5] 210 | # Helper to build default fzf options list 211 | def __fzf_defaults [prepend: string, append: string]: nothing -> string { : ------+------ : `-- defined more than once 212 | let base = $"--height ($env.FZF_TMUX_HEIGHT? | default '40%') ... `---- Rename the completion.nu copy to `__fzf_defaults_completion`.
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+2 added−2 removed
- other:+2 added−2 removed