powershell-profile icon indicating copy to clipboard operation
powershell-profile copied to clipboard

powershell script now downloaded cove.zip

Open ciscohack opened this issue 1 year ago • 13 comments

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 avatar Oct 23 '23 19:10 ciscohack

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

ciscohack avatar Oct 23 '23 19:10 ciscohack

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 avatar Oct 27 '23 15:10 H3T-Shah

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

H3T-Shah avatar Oct 27 '23 15:10 H3T-Shah

@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 avatar Oct 27 '23 15:10 ciscohack

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

image image

ciscohack avatar Oct 27 '23 15:10 ciscohack

@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

H3T-Shah avatar Oct 31 '23 05:10 H3T-Shah

Ok thanks I tried other theme and that is working fine

ciscohack avatar Oct 31 '23 06:10 ciscohack

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 avatar Nov 26 '23 19:11 crcastilho

@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

crcastilho avatar Nov 26 '23 19:11 crcastilho

Using path variable is a better option, but usually reset my system often so hardcoding it is better option for me atleast

On Mon, 27 Nov, 2023, 12:59 am Carlos Castilho, @.***> wrote:

@H3T-Shah https://github.com/H3T-Shah I have the prompt setting in place but my prompt is different [image: image] https://user-images.githubusercontent.com/11479557/278692501-563c9ea0-0cca-491c-8982-5e0a323ea9d5.png [image: image] https://user-images.githubusercontent.com/11479557/278692588-4717602b-f490-45ce-8d27-f05c16a10c38.png

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.

— Reply to this email directly, view it on GitHub https://github.com/ChrisTitusTech/powershell-profile/issues/32#issuecomment-1826875805, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAGDQFA23S5UHY5J5UI33XDYGOKCXAVCNFSM6AAAAAA6MS62QKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRWHA3TKOBQGU . You are receiving this because you were mentioned.Message ID: @.***>

H3T-Shah avatar Nov 27 '23 07:11 H3T-Shah

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

koolandrew avatar Jan 13 '24 23:01 koolandrew

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.

H3T-Shah avatar Jan 18 '24 04:01 H3T-Shah

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

ShadowElixir avatar May 23 '24 13:05 ShadowElixir