Skip to content

Bug: Zoxide changing directory notification uses 'error' level instead of 'info' after updating to 0fd8488cfddd0c169c4bf87ced2edce0bbff4a50 #2211

@xfzv

Description

@xfzv

RTFM Checklist

  • I have searched exisiting issues / discussions
  • I have read the Wiki including the Advanced section
  • I have read man fzf / I am well versed in shell fzf

Operating system

Linux

Shell

zsh 5.9 (x86_64-pc-linux-gnu)

Neovim version (nvim --version)

NVIM v0.12.0-dev-910+g029b7a149f

Fzf version (fzf --version)

0.62.0 (e15cba0)

Output of :lua print(os.getenv('FZF_DEFAULT_OPTS'))

bg:#1e1e20 bg+:#313244 current-bg:#262626 fg:#cdd6f4 fg+:#cdd6f4 gutter:-1 header:#f38ba8 hl:#f38ba8 hl+:#f38ba8 info:#b4befe marker:#f5e0dc pointer:#f5e0dc prompt:#b4befe selected-bg:-1 spinner:#f5e0dc' --cycle --height=100% --info=hidden --layout=reverse --marker ▏ --multi --pointer ▌ --preview-window=right:wrap --scrollbar=▌

Is the problem reproducible with mini.sh?

  • My issue is reproducible with mini.sh
  • My issue IS NOT reproducible with mini.sh
  • I have not tested with mini.sh (not relevant, requires LSP, Windows, etc)

Fzf-lua configuration

# Can reproduce with default settings
require('fzf-lua').setup({})

Describe the bug / steps to reproduce

After updating to 0fd8488

Running

:lua require("fzf-lua").zoxide()`

or

:FzfLua zoxide

and changing directory results in the cwd set to '/path/to/dir' notification using 'error' level instead of 'info'.

https://github.com/ibhagwan/fzf-lua/blob/5aac6fb51fe38a1012cb9e124cf6d99db1f11fe5/lua/fzf-lua/actions.lua#L1171C5-L1171C15

Reverting to f224604 (commit just before) fixes the issue as far as I'm concerned.


Image Image

Couldn't reproduce with mini.sh (no notification displayed after changing directory).

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions