Moeologist / scoop-completion

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

Provide scoop-auto-completion through scoop #4

Closed Lockszmith-GH closed 5 years ago

Lockszmith-GH commented 5 years ago

Seems that a scoop enhancement as excellent as this, should be available via scoop. Is there a reason not to implement this?

BTW: Thanks for making this!

Moeologist commented 5 years ago

You mean that provide this function via scoop itself? Or provide a scoop bucket? Few people use shell completion. Additional config is necessary, even integrating this to scoop. For the latter, PSGallery is available.

Lockszmith-GH commented 5 years ago

I meant a bucket. scoop install scoop-auto-complete

Make it a part of the scoop ecosystem.

On Tue, Mar 12, 2019, 14:12 Aladdin notifications@github.com wrote:

You mean that provide this function via scoop itself? Or provide a scoop bucket? Few people use shell completion. Additional config is necessary, even integrating this to scoop. For the latter, PSGallery is available.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/liuzijing97/scoop-auto-completion/issues/4#issuecomment-472119816, or mute the thread https://github.com/notifications/unsubscribe-auth/AA3R9C87goSs9TVr0taK5SbDl_-OtQx-ks5vV-4EgaJpZM4bl0zf .

Moeologist commented 5 years ago

solved

Lockszmith-GH commented 5 years ago

I never thanked you for this, this is beyond awesome!

This has become part of my staple-installation:

# Add scoop-completion bucket, followed by installation
scoop bucket add scoop-completion 'https://github.com/Moeologist/scoop-completion'
scoop install scoop-completion

# Add alias for easy invocation (should also work in Pwsh)
scoop alias add autocomplete-on  'Get-Module -ListAvailable $env:SCOOP\modules\* | Where-Object Name -eq scoop-completion | Import-Module'
scoop alias add autocomplete-off 'Get-Module scoop-completion | Remove-Module'

# Activate scoop-autocomplete
scoop autocomplete-on

You are welcome to checkout my full installation script. THANK YOU!

EDIT: changed liuzijing97 to Moeologist in URL
TheWiresharkGuy commented 4 years ago

@Lockszmith

Hi !

The link to your full installation script gives me a 404 error :(

Lockszmith-GH commented 4 years ago

@TheWiresharkGuy please try again, for some reason my server was down, it's back up.

TheWiresharkGuy commented 4 years ago

@Lockszmith Thank you for your awsome script ! 👍