Skip to content

Releases: backmind/PSAliasFinder

PSAliasFinder 2.0.1

24 Apr 20:57

Choose a tag to compare

Bugfix release.

Fixed

The 2.0.0 provider enumerated aliases inside a private runspace, so only PowerShell's built-in aliases (ls, gci, ipmo, ...) were visible. Any alias defined in the user's $PROFILE — functions pointed at by Set-Alias — was invisible to the provider and never triggered feedback. 2.0.1 switches the internal PowerShell instance to RunspaceMode.CurrentRunspace, so Get-Alias now returns the complete alias table of the session that imported the module, user-defined entries included.

Upgrade

Install-Module PSAliasFinder -Force

Available on the PowerShell Gallery. No breaking changes from 2.0.0; config file and exported commands are unchanged.

PSAliasFinder 2.0.0

24 Apr 20:16

Choose a tag to compare

Full rewrite as a binary module on top of PowerShell 7.4's native IFeedbackProvider subsystem. Alias suggestions now render in the engine's [Feedback] block and follow $PSStyle.Formatting.Feedback* theming — no more PSReadLine Enter-key hook, no more Write-Host.

Demo

Install

Install-Module PSAliasFinder -Scope CurrentUser
Import-Module  PSAliasFinder

Available on the PowerShell Gallery.

Breaking changes

  • Minimum PowerShell raised from 5.1 to 7.4. On 7.4 / 7.5 both PSFeedbackProvider and PSSubsystemPluginModel experimental features must be enabled (both graduated to mainstream in 7.6-preview.6, so nothing is needed on 7.6+). 5.1 and 7.0–7.3 users should stay on 1.0.0: Install-Module PSAliasFinder -RequiredVersion 1.0.0.
  • Set-AliasFinderHook and Test-CommandAlias removed. No shims.
  • \$global:PSAliasFinderConfig no longer consulted. Configuration is persisted per-user at \$env:APPDATA\PSAliasFinder\config.json on Windows or ~/.config/PSAliasFinder/config.json on Linux/macOS.

New

  • Get-AliasFinderConfig / Set-AliasFinderConfig with -Enabled, -MinCommandLength, -MaxPipes, -MaxArguments, -MinCharsSaved, -CooldownSeconds, -MaxSuggestions, ignore list, -Reset, -PassThru. Changes apply without reimporting.
  • Per-command cooldown (default 30 min), ignore list, tunable top-N via MaxSuggestions (default 1).
  • PSALIASFINDER_CONFIG_DIR env override for portable installs and CI.

See the README for full details.