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

fzf throws "invalid preview window layout: down,5%" on Pop!_os #35

Closed
Justaus3r opened this issue Sep 1, 2021 · 3 comments
Closed

fzf throws "invalid preview window layout: down,5%" on Pop!_os #35

Justaus3r opened this issue Sep 1, 2021 · 3 comments

Comments

@Justaus3r
Copy link
Contributor

Justaus3r commented Sep 1, 2021

Os:Pop!_os

Issue:
I am facing this issue while running adl on Pop!_Os ,when ever i do ./adl,i get :

invalid preview window layout: down,5%
Nothing was selected. Exiting. 

Thank you for using adl ✨! 
Exiting. 

Did you install all the dependencies?
Yes i did,infact i also installed all the optional dependencies.
Did you try to install adl on any other distro
No i didn't,but i think that this issue might might be Os specific.

Edit:

Workaround\Solution:

Below is the solution to the problem

@Justaus3r
Copy link
Contributor Author

Justaus3r commented Sep 2, 2021

Fix:

OK,so it only occurred to me now ,that maybe the version of fzf i installed from apt might be outdated and it seems i was right.the version of apt is outdated and doesn't have that --preview switch in it.i removed the version that i installed from apt and then reinstalled latest version using their install script and now all seems to be working fine.

link for fzf Github repo:https://github.com/junegunn/fzf/#Using-git
Linux Users should not install fzf via their package manager.you can git clone the repo and install it using their install script.

I think you should pin this issue ,so anyone who faces this issue would benefit from it.

@RaitaroH
Copy link
Owner

RaitaroH commented Sep 4, 2021

Can you tell me what version you were using before?

Anyhow, I added to readme. Partially is my fault for not thinking about outdated fzf package.

@RaitaroH RaitaroH pinned this issue Sep 4, 2021
@RaitaroH RaitaroH closed this as completed Sep 4, 2021
@Justaus3r
Copy link
Contributor Author

Can you tell me what version you were using before?

Sorry for the late response ,it was 0.20.0.

Anyhow, I added to readme. Partially is my fault for not thinking about outdated fzf package.

Good,nah everyone does mistakes.software without bugs are not fun,xd

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

2 participants