Git Product home page Git Product logo

Comments (6)

stuaxo avatar stuaxo commented on June 12, 2024 1

Suggestion for the docs -

Immediately after installation instructions have a really short section listing the blocks you can add to a prompt and an example showing how to do it.

  • The rest of the info about block setup + how it works is useful, but casual devs just want to dive in and choose some they like.

from powerline.

Jaykul avatar Jaykul commented on June 12, 2024

Not sure why that would show up. Try installing that dependency by hand.

Install-Module Configuration

from powerline.

stuaxo avatar stuaxo commented on June 12, 2024

Cheers, I'm on a fairly locked down machine for dev at work, got a bit further installing the dependency by hand:

PS J:\> Install-Module Configuration

Untrusted repository
You are installing the modules from an untrusted repository. If you trust this repository, change its
InstallationPolicy value by running the Set-PSRepository cmdlet. Are you sure you want to install the modules from
'PSGallery'?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): A
PS J:\> Install-Module PowerLine

Untrusted repository
You are installing the modules from an untrusted repository. If you trust this repository, change its
InstallationPolicy value by running the Set-PSRepository cmdlet. Are you sure you want to install the modules from
'PSGallery'?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): A
PackageManagement\Install-Package : The following commands are already available on this system:'Write-Host'. This
module 'Pansies' may override the existing commands. If you still want to install this module 'Pansies', use
-AllowClobber parameter.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1809 char:21
+ ...          $null = PackageManagement\Install-Package @PSBoundParameters
+                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package],
   Exception
    + FullyQualifiedErrorId : CommandAlreadyAvailable,Validate-ModuleCommandAlreadyAvailable,Microsoft.PowerShell.Pack
   ageManagement.Cmdlets.InstallPackage

PS J:\>

from powerline.

Jaykul avatar Jaykul commented on June 12, 2024

So. Yeah. My dirty (not-very)secret is that I proudly overwrite built in commands with better versions.

My version of Write-Host is faster and way more cool (since it supports RGB colors) 😉

You have to use the -AllowClobber - that should be in the doc. Hmmm.

from powerline.

stuaxo avatar stuaxo commented on June 12, 2024

Install worked, now - I installed PANSIES and PowerLine with -NoClobber. :)

from powerline.

stuaxo avatar stuaxo commented on June 12, 2024

Closing, will open suggestion as its own ticket.

from powerline.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.