Comments (4)
it works fine both in powershell 6.2 and 5.1 , but in 6.2 it doesn't display the extra Set-PSReadlineKeyHandler : The term 'Set-PSReadlineKeyHandler' is ...
message
the powershell session is not a admin session.
from scoop-completion.
Thank you for reporting.
I will remove Set-PSReadlineKeyHandler from this module.
Temporary solution: install PSReadline manually to make MenuComplete work. (without MenuComplete, Tab will not show menu but cycle completion words)
Install-Module -Scope CurrentUser PSReadline
from scoop-completion.
see url
These articles documents PSReadLine v2.0. This version ships in PowerShell v6 and the Windows 10 October 2018 Update (Build 1809).
Windows10 1903 should contained this module.
C:\WINDOWS\system32
❯ Get-Module -All|Select-Object Name,Path|Sort -Property Path
Name Path
---- ----
PackageManagement C:\Program Files\WindowsPowerShell\Modules\PackageManagement\1.0.0.1\Microsoft.PowerShell.PackageManagement.dll
PowerShellGet C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1
Microsoft.PowerShell.PSReadLine C:\Program Files\WindowsPowerShell\Modules\PSReadline\2.0.0\Microsoft.PowerShell.PSReadLine.dll
PSReadline C:\Program Files\WindowsPowerShell\Modules\PSReadline\2.0.0\PSReadLine.psm1
from scoop-completion.
well, this is what I did in powershell 5.1.
from user directory and from C:\WINDOWS\system32
> Get-Module -All
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Binary 3.0.0.0 Microsoft.PowerShell.Commands.Ma... {Add-Content, Clear-Content, Clear-ItemProperty, Join-Path...
Manifest 3.1.0.0 Microsoft.PowerShell.Management {Add-Computer, Add-Content, Checkpoint-Computer, Clear-Con...
from user directory
> Get-Module -All|Select-Object Name,Path|Sort -Property Path
Name Path
---- ----
Microsoft.PowerShell.Commands.Utility.dll C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Commands.U...
Microsoft.PowerShell.Utility C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Ut...
Microsoft.PowerShell.Utility C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Ut...
from C:\Windows\System32
> Get-Module -All|Select-Object Name,Path|Sort -Property Path
Name Path
---- ----
Microsoft.PowerShell.Commands.Management.dll C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Command...
Microsoft.PowerShell.Commands.Utility.dll C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Command...
Microsoft.PowerShell.Management C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell...
Microsoft.PowerShell.Utility C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell...
Microsoft.PowerShell.Utility C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell...
from scoop-completion.
Related Issues (20)
- question: variable name in src/scoop-completion.psm1 HOT 9
- My computer didn't have the path and file “C:\Users\younger\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1” HOT 7
- warning messages after updating to 0.2.0 HOT 5
- 能提供卸载说明吗? HOT 4
- ERROR Hash check failed! HOT 2
- Suggestion: support completion with sudo HOT 2
- load module error HOT 1
- [feature request] support `scoop install bucket/app`
- I am getting error first time i start up powershell console HOT 1
- lazy load completions
- Autocomplete of aliases fail with name containes dash ('-') HOT 2
- support `Register-ArgumentCompleter` mode HOT 1
- fix: scoop-completion clobbers TabExpansion, breaks ArgumentCompleters HOT 1
- [request] bump version
- autocompletion for aliases
- Cannot complete app's name HOT 1
- It has no effect on the package name. Whether it is install or uninstall followed by package name completion, it cannot be used. HOT 4
- Tab Completion does not work for windows 11 on PowerShell Core, like it literally will not work HOT 15
- Completion does not work in PowerShell version 7.4.0 HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scoop-completion.