Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sake92/mill-powershell-completion
Basic TAB completion for Mill in PowerShell
https://github.com/sake92/mill-powershell-completion
mill scala
Last synced: 23 days ago
JSON representation
Basic TAB completion for Mill in PowerShell
- Host: GitHub
- URL: https://github.com/sake92/mill-powershell-completion
- Owner: sake92
- License: mit
- Created: 2022-05-29T16:08:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-22T08:34:48.000Z (12 months ago)
- Last Synced: 2024-10-04T20:43:40.240Z (about 1 month ago)
- Topics: mill, scala
- Language: PowerShell
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mill-powershell-completion
Basic TAB completion for Mill in PowerShell
1. Create profile if doesnt exist and open it:
```powershell
if (!(Test-Path -Path $PROFILE.CurrentUserAllHosts)) {
New-Item -ItemType File -Path $PROFILE.CurrentUserAllHosts -Force
}ii $PROFILE.CurrentUserAllHosts
```2. Copy the contents of the `profile.ps1` script into your profile.
Close the file.3. Open a fresh PowerShell console
4. Enter a Mill project folder, type `mill` and hit `TAB` !
---
You might need to enable the scripts execution policy, if you get an error after updating the profile file:
```powershell
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
```Useful links:
- https://dev.to/ofhouse/add-a-bash-like-autocomplete-to-your-powershell-4257
- https://docs.microsoft.com/en-us/powershell/scripting/windows-powershell/ise/how-to-use-profiles-in-windows-powershell-ise