ChrisTitusTech / powershell-profile

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

Nothing happens after install #72

Open DRYN07 opened 4 months ago

DRYN07 commented 4 months ago

The installation was successful but my powershell looks the same as before. Should I do anything else beside running the script?

Thanks :)

After install image

berlintay commented 4 months ago

In the folder where you executed the script, there should be a 'Cove.zip' File extract it and then install it

if you read the script in setup.ps1, theres a function that dowloads cascadiacode and install it you might have to restart your terminal though

https://github.com/ChrisTitusTech/powershell-profile/blob/main/setup.ps1

DRYN07 commented 4 months ago

Thank you for clearing this. I have read that but there is no cove.zip in the whole machine (at least everything search could not find one) :/

I looked the zip in the right directory. Do you have any other ideas maybe what could be the cause?

image

Xyplixt commented 4 months ago

Click on 'v' in the bar then go to settings then 'PowerShell' then 'Appearance' then 'Font face' then select 'CaskaydiaCove Nerd Font Mono'

-> Download Caskaydia font and install from nerdfont.com , if you dont see that font..........

fdzalex commented 3 months ago

Hi there @DRYN07 I had the same issue as you, not sure if you've already sorted it, but here are the steps I took to sort it:

Final result should be similar to:

image

DRYN07 commented 2 months ago

@fdzalex Thank you for writing, to be honest, I haven't dealt with it since then. Now it has come up again to do it, I read the description, and it was quite clear that last time I got stuck with the cove.zip, even though I could have used a different font as well... :D

DRYN07 commented 2 months ago

Hmmm a small other question. I did a clean install of this on a clean virtual machine. On the appearance, everything is fine but the powershell looks like the default one. Am I missing something? I restarted the explorer.

image

image

berlintay commented 2 months ago

Might be missing oh-my-posh

Oh-My-Posh debug pwsh

See the output and post here.

Also check that your Environment for your ps1 profile is correct

$PROFILE

and lastly verify that the oh-my-posh is on path by doing

$env:PATH | grep oh-my-posh

show me what the output is and we can get this solved!!

Hmmm a small other question. I did a clean install of this on a clean virtual machine. On the appearance, everything is fine but the powershell looks like the default one. Am I missing something? I restarted the explorer.

image

image

DRYN07 commented 2 months ago

Finally, I found the problem: the issue was caused by UniGetUI already having installed a version of Choco, just not in the default location. As a result, the script simultaneously stated, "WARNING: Choco is not installed" and "WARNING: Choco is already installed." If I leave the UniGetUI installation until the end, ensuring that Choco is already installed in the proper location, everything works fine :)

Thank you for the detailed help anyway.