Skip to content

Releases: codyduong/powershell-alias-tips

v0.3.0-rc1

05 Apr 02:06
Compare
Choose a tag to compare
v0.3.0-rc1 Pre-release
Pre-release

Features/Changes

  • Adds some alias resolution to get alias tips for functions like so
    function gcm {
      $MainBranch = Get-Git-MainBranch
    
      git checkout $MainBranch $args
    }
    It is relatively naive, and will only work on direct assignments to $ variables.

Fixes

  • Fix recommending invalid alias tips for function aliases that don't accept $args, see #2

https://www.powershellgallery.com/packages/alias-tips/0.3.0-rc1

v0.2.0

31 Mar 21:40
Compare
Choose a tag to compare

Features/Changes

  • Adds two new variables for use when importing alias-tips

    • The first variable is $LoadAliasOnImport. It will default to true if unset. This will allow the module to be imported and aliases calculated later. If set to false, use in conjunction with either Find-AliasTips or Start-FindAliasTips to calculate alias tips.
    • The second variable is $SynchronousLoad. By default is false.
  • Add ThreadJob to calculate aliases

    • This can be called manually with Start-FindAliasTips
    • To restore old behavior
    Import-Module alias-tips -arg 1,1

Fixes

  • Command calls that have multiple possible alias-able commands called at once will now no longer mistakenly give out alias tip even if there is none. This was caused by extra white-space, which has been trimmed.
  • Escape regex unsafe commands from blowing up parser by escaping strings.

https://www.powershellgallery.com/packages/alias-tips/0.2.0

v0.1.1

31 Mar 03:54
Compare
Choose a tag to compare

Initial Release

Create alias-tips, have naive support for functions and aliases

https://www.powershellgallery.com/packages/alias-tips/0.1.1