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

seems like this plugin doesn't respect FZF_DEFAULT_COMMAND #4

Open
isvicy opened this issue Feb 6, 2021 · 2 comments
Open

seems like this plugin doesn't respect FZF_DEFAULT_COMMAND #4

isvicy opened this issue Feb 6, 2021 · 2 comments

Comments

@isvicy
Copy link

isvicy commented Feb 6, 2021

by default, telescope-fzf-writer doesn't show hidden files.

set FZF_DEFAULT_COMMAND works for fzf.vim but not for telescope-fzf-writer.

Is this intensional? and how can i make fzf-writer show hidden files?

@elianiva
Copy link
Member

elianiva commented Feb 6, 2021

yeah, it seems like it's hardcoded. I don't think it would be that hard to make it respect $FZF_DEFAULT_COMMAND

command = 'fzf',
args = {'--filter', prompt}

@Conni2461
Copy link
Member

Plenary job has a clean env. So to make this work we need to do os.getenv and pass in that env to plenary job. Should be not hard. We might need some changes in core i am not sure how finder handles env

@isvicy isvicy changed the title seems like this plugin doesn't expect FZF_DEFAULT_COMMAND seems like this plugin doesn't respect FZF_DEFAULT_COMMAND Feb 6, 2021
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

3 participants