ChrisTitusTech / powershell-profile

Pretty PowerShell that looks good and functions almost as good as Linux terminal
598 stars 337 forks source link

powershell script now downloaded cove.zip #32

Open ciscohack opened 11 months ago

ciscohack commented 11 months ago

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 commented 11 months ago

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 commented 11 months ago

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 commented 11 months ago

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 commented 11 months ago

@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 commented 11 months ago

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

image image
H3T-Shah commented 11 months ago

@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 commented 11 months ago

Ok thanks I tried other theme and that is working fine

crcastilho commented 10 months ago

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 commented 10 months ago

@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 commented 10 months ago

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: @.***>

koolandrew commented 8 months ago

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 commented 8 months ago

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 commented 4 months ago

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