Moeologist / scoop-completion

scoop tab completion, work with powershell
MIT License
173 stars 12 forks source link

Tab Completion does not work for windows 11 on PowerShell Core, like it literally will not work #34

Closed FlawlessCasual17 closed 9 months ago

FlawlessCasual17 commented 11 months ago

Sorry for the bad video quality,

https://github.com/Moeologist/scoop-completion/assets/101912712/d8e76b89-6f8e-46f5-a7e7-ba313451399a

Lockszmith-GH commented 11 months ago

After you installed the scoop-completion with scoop install scoop-completion did you run the Import-Module as described in the (README)[https://github.com/Moeologist/scoop-completion#scoop-completion]?

# enable completion in current shell, use absolute path because PowerShell Core not respect $env:PSModulePath
Import-Module "$($(Get-Item $(Get-Command scoop.ps1).Path).Directory.Parent.FullName)\modules\scoop-completion"

PowerShell TabExpansion relies on a module named PSReadLine, is it installed?

Please provide the output of the following commands:

$PSVersionTable Get-Modules Get-PSReadLineKeyHandler

This information should be helpful in pin pointing possible cause.

Maoyeedy commented 11 months ago

This is broken due to pwsh 7.4.0 upgrade, scoop-completion works fine in 7.3.10

seanmamasde commented 11 months ago

yes as @Maoyeedy said, it's broken since the update. Any update on this issue?

FlawlessCasual17 commented 11 months ago

This is broken due to pwsh 7.4.0 upgrade, scoop-completion works fine in 7.3.10

So I'll just downgrade to a previous version of PowerShell. Works fine for me.

FlawlessCasual17 commented 11 months ago

It works now for me: (WindowsTerminal)k482f7_11-18-2023

FlawlessCasual17 commented 11 months ago

@Maoyeedy so this bug is just a PowerShell related one, not a PS module one?

nahid6970 commented 11 months ago

not working for me either on Powershell 7.4

FlawlessCasual17 commented 11 months ago

not working for me either on Powershell 7.4

The current solution is to downgrade to PowerShell version 7.3.10, unfortunately.

nahid6970 commented 11 months ago

any solution found guys?

seanmamasde commented 11 months ago

How is this solved? downgrading to make it work does not count as a solution.

@Zliced13 You should reopen this issue for better visibility, as it is still unsolved. Downgrading is just a temporary workaround, you won't be using pwsh ver7.3.10 forever. Thank you.

FlawlessCasual17 commented 11 months ago

@seanmamasde Sorry for closing this issue report 3 days ago, I was just annoyed by the spammy notifications.

EDIT: If this issue is resolved, could someone please mention me in a message?

seanmamasde commented 11 months ago

@Zliced13 If you don't want message notifications, you could simply unsubscribe from this issue, so you won't get it. I am not sure whether the issue you opened gets closed you'll get notified or not, but sure if I remember I will mention you so you'll know.

FlawlessCasual17 commented 11 months ago

@Zliced13 If you don't want message notifications, you could simply unsubscribe from this issue, so you won't get it. I am not sure whether the issue you opened gets closed you'll get notified or not, but sure if I remember I will mention you so you'll know.

I already unsubscribed from this thread @seanmamasde

Moeologist commented 9 months ago

Fixed on v0.3.0

FlawlessCasual17 commented 8 months ago

@Moeologist thank you for fixing that bug