Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ctrl+T file search outside current working directory nonfunctional #185

Closed
RadimEZ opened this issue Feb 23, 2025 · 0 comments
Closed

Ctrl+T file search outside current working directory nonfunctional #185

RadimEZ opened this issue Feb 23, 2025 · 0 comments

Comments

@RadimEZ
Copy link

RadimEZ commented Feb 23, 2025

fzf 0.57.0
fish 3.7.1
("pwd" means "current working directory")

When I set up fzf's fish-integration initially I remember a different behaviour:

Following example:

  1. Enter another directory

~> cd /tmp/
/tmp>

now my pwd is /tmp/

  1. Prepare prompt

I enter the following prompt and press Ctrl+T

/tmp> cat file.txt ~/Documents/

  1. Observe result

old/good:
Previously it would search within ~/Documents/ allowing me to enter search phrase (despite pwd still /tmp/)

current/bad:
Now it searches within pwd (here /tmp) and pre-fills the search phrase with the term "~/Documents/" which is not what I need.

How to fix it? How to restore previous behaviour? Cannot use Ctrl+T with paths outside current working directory like this.

Any support is highly appreciated. Thanks in advance.

@RadimEZ RadimEZ closed this as completed Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant