Giter Site home page Giter Site logo

Comments (13)

ciscohack avatar ciscohack commented on July 24, 2024 1

Ok thanks I tried other theme and that is working fine

from powershell-profile.

ciscohack avatar ciscohack commented on July 24, 2024

it seems the file is now part of the script and no need to download the zip file. btw how do I get a prompt like this you have I thought this script only had a similar prompt. Can you please help me with configuration to get the similar prompt result

image

from powershell-profile.

H3T-Shah avatar H3T-Shah commented on July 24, 2024

it seems the file is now part of the script and no need to download the zip file. btw how do I get a prompt like this you have I thought this script only had a similar prompt. Can you please help me with configuration to get the similar prompt result

image

For that you have to go on OhMyPosh website and find the same terminal looking profile and install it (instructions are given on it)

from powershell-profile.

H3T-Shah avatar H3T-Shah commented on July 24, 2024

it seems the file is now part of the script and no need to download the zip file. btw how do I get a prompt like this you have I thought this script only had a similar prompt. Can you please help me with configuration to get the similar prompt result

image

Well in the script at the end there's this code

https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/cobalt2.omp.json

This is the profile you need to install to get that theme

from powershell-profile.

ciscohack avatar ciscohack commented on July 24, 2024

@H3T-Shah Thanks my friend I thought the script was compiled with this prompt. I am using oh-my-posh first time not have much idea..but will follow your instructions

from powershell-profile.

ciscohack avatar ciscohack commented on July 24, 2024

@H3T-Shah I have the prompt setting in place but my prompt is different

image image

from powershell-profile.

H3T-Shah avatar H3T-Shah commented on July 24, 2024

@H3T-Shah I have the prompt setting in place but my prompt is different

image image

Have you linked an external config file for oh-my-posh ?
If, then the you have to add it in the config file, but it would de little different than in pwsh config.
Also a small detail you may need internet connection everytime you load pwsh as of it's retrieving file from internet

from powershell-profile.

crcastilho avatar crcastilho commented on July 24, 2024

I ran the script as it's mentioned in the document section and it is supposed to download the cove.zip file but unfortunately, it doesn't download the file. seem something is broken and need to be fixed. meanwhile, may I get the cove.zip file to get the nerd font

The problem is that the setup.ps1 needs to point to "https://github.com/ryanoasis/nerd-fonts/releases/download/v3.1.0/CascadiaCode.zip" instead of "https://github.com/ryanoasis/nerd-fonts/releases/download/v3.0.2/CascadiaCode.zip", due to recent repo update. Click on the first one and you'll get it.

from powershell-profile.

crcastilho avatar crcastilho commented on July 24, 2024

@H3T-Shah I have the prompt setting in place but my prompt is different
image image

Have you linked an external config file for oh-my-posh ? If, then the you have to add it in the config file, but it would de little different than in pwsh config. Also a small detail you may need internet connection everytime you load pwsh as of it's retrieving file from internet

Use this example 'oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH/jandedobbeleer.omp.json" | Invoke-Expression' instead and you'll be using a local theme.
However, I'm having the same issue with the cobalt2 theme. The first time I installed this script when it was published it worked just fine and I got the beautiful prompt. Recently I had to reinstall my PC and all I get is the same as the above image. Tested in 2 new Windows installations and 1 VM and the result was the same. According to this https://ohmyposh.dev/docs/themes#cobalt2 it should at least looks like this
image

from powershell-profile.

H3T-Shah avatar H3T-Shah commented on July 24, 2024

from powershell-profile.

koolandrew avatar koolandrew commented on July 24, 2024

I cannot get any of the above to work, I have tried every suggestion above and mine still looks like a plain old powershell.

image

from powershell-profile.

H3T-Shah avatar H3T-Shah commented on July 24, 2024

I cannot get any of the above to work, I have tried every suggestion above and mine still looks like a plain old powershell.

image

You are simply inputting a link and not even using the cli of oh-my-posh
rather try to init it from the official
Documentation of it.

from powershell-profile.

ShadowElixir avatar ShadowElixir commented on July 24, 2024

I cannot get any of the above to work, I have tried every suggestion above and mine still looks like a plain old powershell.

image

Use powershell core

from powershell-profile.

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.