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

bug: auto suggest broken #1377

Open
dougg0k opened this issue Feb 13, 2025 · 5 comments
Open

bug: auto suggest broken #1377

dougg0k opened this issue Feb 13, 2025 · 5 comments
Labels
errors Something isn't working

Comments

@dougg0k
Copy link

dougg0k commented Feb 13, 2025

  • The version of eza being used (eza --version): v0.20.21 [+git]
  • The command-line arguments you are using: eza --long --classify=always --hyperlink --links --octal-permissions --group --group-directories-first --icons=always --color=always --header --all --git --git-repos --across --grid
  • Your shell and terminal: Wezterm + Nushell
  • Your operating system and hardware platform: Arch Linux

Whenver I use the alias or eza directly. All that it auto suggest after a space and tab, are visible folders. It's missing hidden folders.

Whoever if I type eza . and tab, it shows the hidden folders, but also hidden files. So, that is also broken.

@dougg0k dougg0k added the errors Something isn't working label Feb 13, 2025
@cafkafk
Copy link
Member

cafkafk commented Feb 14, 2025

Currently, the NuShell completions aren't actively maintained, and won't be for the forseable future. If you wanna maintain them however, that is possible and welcome.

@dougg0k
Copy link
Author

dougg0k commented Feb 14, 2025

From what I see in all your completions, all they do is complete the options and flags from eza. And not only the one from nushell.

@cafkafk
Copy link
Member

cafkafk commented Feb 27, 2025

Just to be clear, the nushell completions at https://github.com/eza-community/eza/blob/main/completions/nush/eza.nu haven't been touched in 5 months, I'm not sure what you're talking about.

@dougg0k
Copy link
Author

dougg0k commented Feb 27, 2025

I am not talking about that kind of completion. But actual folders completion.

Maybe the problem were with nushell in the first place.

Type eza, press space and tab in nushell. Result from that, is what I mean.

@dougg0k
Copy link
Author

dougg0k commented Mar 1, 2025

~/Downloads/fake_folder
❯ ll                                                                                                                                                                                                        
Octal Permissions Links Size User    Group   Date Modified Name
0755  drwxr-xr-x      1    - user user  1 mar 19:19   .hidden_folder/
0755  drwxr-xr-x      1    - user user  1 mar 19:19   non_hidden_folder/
0644  .rw-r--r--      1    0 user user  1 mar 19:19   .hidden_file
0644  .rw-r--r--      1    0 user user  1 mar 19:19   non_hidden_file

~/Downloads/fake_folder
❯ | eza                                                                                                                                                                                         
non_hidden_file     non_hidden_folder/

In this context, it should show only non_hidden_folder and .hidden_folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
errors Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants