You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm trying to override the --header function of fzf for the variable selection so I can print help text about distinguishing selecting the query or the selection like so (in fish shell):
$ begin; set -lx NAVI_FZF_OVERRIDES_VAR '--header "Press Enter or Tab to choose selection or query."'; navi --print; end
I get 'unknown option: Enter' and choosing the variable is skipped. It seems to me that parsing the spaces fails? Maybe this is related to #695 ? I also tried it with various escaping (escaping the spaces, using different quotes " and ', escaping the quotes " and ') but couldn't get it to work. Setting it in the config.yaml failed, too.
fzf does support spaces in its header, so this works:
Thanks for opening your first issue here! In case you're facing a bug, please update navi to the latest version first. Maybe the bug is already solved! :)
Describe the bug
I'm trying to override the --header function of fzf for the variable selection so I can print help text about distinguishing selecting the query or the selection like so (in fish shell):
I get 'unknown option: Enter' and choosing the variable is skipped. It seems to me that parsing the spaces fails? Maybe this is related to #695 ? I also tried it with various escaping (escaping the spaces, using different quotes " and ', escaping the quotes " and ') but couldn't get it to work. Setting it in the config.yaml failed, too.
fzf does support spaces in its header, so this works:
To Reproduce
Steps to reproduce the behavior:
in a git repo with at least 2 branches.
but this doesn't:
Expected behavior
The variable selection should work, and the header should be correctly displayed as "Press Enter Or Tab".
Versions:
The text was updated successfully, but these errors were encountered: