Comments (13)
@Sorenwise
You can install as many of the fonts as you like, you just need to set that as your terminal font.
I believe the font names typically have NF in the name.
In the Terminal app, click on the down arrow and select "Settings"
Click on the Windows Powershell option under Profiles, scroll down and click on Appearance
Then Select your font from the font face dropdown
Save and you should be good.
With a direct powershell window
right click on the title bar, click on "Defaults", Select the Font Tab
Select one of the Nerd Fonts you installed from the list and click Ok.
from powershell-profile.
ok I fixed it by doing a manual install
but now I am getting this error
"oh-my-posh : The term 'oh-my-posh' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At E:\Users\user\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:210 char:1
- oh-my-posh --init --shell pwsh --config ~/jandedobbeleer.omp.json | I ...
-
+ CategoryInfo : ObjectNotFound: (oh-my-posh:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException"
What is jandedobbeleer?
from powershell-profile.
@Sorenwise you need to run the command to install Oh-my-posh which was created by jandedobbeleer.
You will need to run the following from Chris's setup script or install from the ohmyposh website
# OMP Install
#
winget install -e --accept-source-agreements --accept-package-agreements JanDeDobbeleer.OhMyPosh
# Font Install
Invoke-RestMethod https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/CascadiaCode.zip?WT.mc_id=-blog-scottha -o cove.zip
from powershell-profile.
@Sorenwise you need to run the command to install Oh-my-posh which was created by jandedobbeleer. You will need to run the following from Chris's setup script or install from the ohmyposh website
# OMP Install # winget install -e --accept-source-agreements --accept-package-agreements JanDeDobbeleer.OhMyPosh # Font Install Invoke-RestMethod https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/CascadiaCode.zip?WT.mc_id=-blog-scottha -o cove.zip
@TheyCallMeZ Ok I did what you said and I got this:
https://gyazo.com/3f84c1a93f70bff19d97f97ccc80dea0
from powershell-profile.
@Sorenwise looks like you need to install a font, either use the installer that's built into oh my posh to pick and install fonts, https://ohmyposh.dev/docs/installation/fonts
after that you will need to go to the properties for your powershell window and set the font that you installed there to see the icons.
from powershell-profile.
@TheyCallMeZ Yes I saw that in the directions at the end of the install file and I did go and manually install nerd fonts and I selected Cascadia which is the one CTT picked I think. But the icons are still messed up :(.
from powershell-profile.
@Sorenwise are you opening in windows terminal or direct powershell window?
For the former you need to select the nerd font in settings for powershell in terminal.
For the latter you need to go to the properties for that window, pick your font and save the settings as default.
from powershell-profile.
@TheyCallMeZ I am just opening direct powershell just to check I tried the windows terminal but that doesn't have anything changed on it, also as admin.
Does it matter that I installed all the Cascadia fonts so like I have 10 different options? cause I dled the pack from nerd fonts directly.
from powershell-profile.
@TheyCallMeZ Well I went into the defaults as you said and nothing I put Cascadia code and it didn't help.
Still have the same messed up window. I even updated powershell to 7.2.7 cause I was on 7.2.6.
I have noticed that some programs dont want to work cause I am in windows 1903, could that be the problem?
from powershell-profile.
@Sorenwise I installed the "Cascadia Code" font, and can confirm it does not have the symbols, I believe "CaskaydiaCove NF Mono" is installed along with it and can confirm it does show the symbols. I'm Partial to Hack as far as font choice.
Looking at the NerdFonts website (https://www.nerdfonts.com/ || https://www.nerdfonts.com/font-downloads) it seems "Cascadia Code" has the nerdfont name as mentioned above Caskaydia Cove Nerd Font
from powershell-profile.
@TheyCallMeZ Well it finally worked with the Hack font but I tried the mono font and it didn't work for me. Which is weird cause I'm pretty sure I saw CTT put the Cascadia code one in the vid. Well anyway thanks for all the help resolving this and I do like how the hack font looks.
I wonder if a reinstall of the fonts would work but its working now I don't want to break it.
from powershell-profile.
@Sorenwise Nerdfonts can be weird at times. You can try downloading from the nerdfonts website and see if that version works but outside of that I'm out of ideas. Glad you like the Hack font!
from powershell-profile.
@TheyCallMeZ I did DL from their website, I suppose maybe Id get a different result if I had run this command you told me too:
Font Install
Invoke-RestMethod https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/CascadiaCode.zip?WT.mc_id=-blog-scottha -o cove.zip
only thing with that is that I had already gone with the website and dled from them. I didn't know how to uninstall their fonts and use the ones from this command.
Just wanted to let you know.
from powershell-profile.
Related Issues (20)
- Endlessly Promping during Installation HOT 2
- installation issue..... HOT 1
- Installation broke HOT 6
- InvalidOperation: The script failed due to call depth overflow.
- Test-Connection errors HOT 2
- Changes made to the profile are discarded after a restart
- A parameter cannot be found that matches parameter name 'TimeoutSeconds'. HOT 1
- Suggestion about Oh-My-Posh config change HOT 1
- edit-profile does not point to $profile HOT 3
- Delete command from curl
- A few issues when running the install...
- Test-connection -TimeSeconds parameter not recongnized (NamedParameterNotFound) HOT 4
- Fonts ZIP file missing in installation folder? HOT 3
- Bitdefender blocking install HOT 1
- Suggestion add fastfetch on startup
- Lost personal configuration when update HOT 4
- Nothing happens after install HOT 4
- Fail on Test-Connection HOT 3
- Loading personal and system profiles takes around 10 seconds HOT 1
- Add a licence
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powershell-profile.