2021-04-02 22:58:01 +00:00
|
|
|
scoop autocomplete-on
|
|
|
|
|
2021-02-07 19:01:56 +00:00
|
|
|
if( Test-Path (Join-Path $env:SCOOP last-scoop-refresh.clixml) ) {
|
2021-04-20 23:43:17 +00:00
|
|
|
if($Host.Name -ne 'Visual Studio Code Host' ) {
|
|
|
|
scoop refresh
|
|
|
|
}
|
2021-02-07 19:01:56 +00:00
|
|
|
} else {
|
|
|
|
Write-Warning ("No recorded time for last 'scoop refresh', to remedy, run 'scoop refresh' at least once manually." +
|
|
|
|
"`nIf the issue still persists, please run 'scoop alias-update' to update to latest refresh code, and try again.")
|
2021-02-07 18:32:23 +00:00
|
|
|
}
|