Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

powershell script now downloaded cove.zip #32

Open
ciscohack opened this issue Oct 23, 2023 · 13 comments
Open

powershell script now downloaded cove.zip #32

ciscohack opened this issue Oct 23, 2023 · 13 comments

Comments

@ciscohack
Copy link

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

@ciscohack
Copy link
Author

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

@H3T-Shah
Copy link

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)

@H3T-Shah
Copy link

H3T-Shah commented Oct 27, 2023

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

@ciscohack
Copy link
Author

@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

@ciscohack
Copy link
Author

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

image image

@H3T-Shah
Copy link

@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

@ciscohack
Copy link
Author

Ok thanks I tried other theme and that is working fine

@crcastilho
Copy link

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.

@crcastilho
Copy link

crcastilho commented Nov 26, 2023

@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

@H3T-Shah
Copy link

H3T-Shah commented Nov 27, 2023 via email

@koolandrew
Copy link

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

@H3T-Shah
Copy link

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.

@ShadowElixir
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants