Skip to content

Please don't add completions on install, and instead make them some command, or notify on first usage #225

@brian6932

Description

@brian6932

I use PSLazyCompletion and would much prefer to symlink it, but everytime this package updates, it adds this line to my $profile that I have to delete.

### RocolateyTabCompletion ###
`$RocolateyProfile = "$rocoTabCompletion"
if (Test-Path(`$RocolateyProfile)) {
Import-Module "`$RocolateyProfile"
}`n
"@ | Out-File $profile -Append -Encoding utf8
}
}

Also can be a one liner like

"Import-Module '$rocoTabCompletion' -ErrorAction SilentlyContinue"

or

"Import-Module '$rocoTabCompletion' -ErrorAction Ignore"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions