Skip to content

Ctrl-T binding for bash and zsh should optionally use the current command-line as the root directory for the recursive search #3480

Closed
@mcepl

Description

@mcepl
  • I have read through the manual page (man fzf)
  • I have the latest version of fzf
  • I have searched through the existing issues

Info

  • OS
    • Linux
    • Mac OS X
    • Windows
    • Etc.
  • Shell
    • bash
    • zsh
    • fish

Problem / Steps to reproduce

This is basically reverse of #2562

When I am in some random directory (e.g., build/) and I write on the command line:

$ ls ~/Books<Ctrl-T>

I would expect that fzf completion mechanism starts searching through ~/Books/ directory. It does in fish, but not in bash (and according to https://github.com/junegunn/fzf#fish-shell not in zsh as well), where it still searches through pwd.

Would it be possible to optionally make this completion work in bash in the same manner as described here (and how it works with fish), please?

For me currently it is the only reason why I cannot switch back to bash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions