Comments (10)
I believe you might want to repost this on the repo for Nerd Fonts.
https://github.com/ryanoasis/nerd-fonts
It does look like they already have one based off of Cascadia Code. It's called 'Caskadia Cove' (likely a β’οΈ thing w/ MSFT)
https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/CascadiaCode.zip
from terminal-icons.
@Tiberriver256 is right. Nerd Fonts already has a patched Cascadia Code
font called Caskaydia Cove
that works in Terminal-Icons. When installed in Windows, it will show up as CaskaydiaCove NF
in the Fonts app. Use that name when setting the font in Windows Terminal or VSCode.
from terminal-icons.
@devblackops
The Icons dont show up next to the file names. Even when using CaskaydiaCove NF or any variations of the NF font.
I even tried the fully packed one called - DelugiaCode NF that has all of the nerd fonts in one package with Cascadia Font.
I also tried the PL versions of Cascadia which there is 27 variations and None of them show the Icons next to the names,
Like you have on the MD of your front page.... So im very confused....
And yes, I did use both codes in PowerShell in Administrative mode:
-
- PS> Install-Module -Name Terminal-Icons -Repository PSGallery
and
- PS> Install-Module -Name Terminal-Icons -Repository PSGallery
-
- Import-Module -Name Terminal-Icons
Nothing happens when I put both of those codes in PowerShell in administration mode.
It just goes to the next line. And yes, I already set the PowerShell permission to Unrestricted.
from terminal-icons.
@SirTwsted What terminal are you using? Make sure to enable the installed font. In VSCode settings, this would be editor.fontFamily
. In Windows Terminal the fontFace
property of your selected profile.
Another question, do the colors change for each folder or file? Even if you don't have a compatible font enabled, those should still change. If they aren't, then something else is going on.
from terminal-icons.
Hi @devblackops
I am on Windows 10 operating system, all updates and patches are up to date.
I am using Windows Terminal that has PowerShell v7.1.3 as its default terminal when I open up Windows Terminal.
I am using ( CaskaydiaCove NF ) as the fontFace right now, and I checked the default.json and settings.json
of the terminal, and they both have the proper font settings to the same font as my terminal.
I was also using the newly released DelugiaCode NF (if i havent mentioned that before) is has every single nerd font available paged into this font.
As to the second question: (No) the colors do not change for each file or folder type.
I am using the (Paradox theme) for 'Oh My Posh', just in case you needed to know that as well. π
This is the video I followed from a official Microsoft employee that currently works at microsoft.
https://www.youtube.com/watch?v=lu__oGZVT98
BTW - I also tried this late last night since I couldnt get any results from Terminal Icons.
https://github.com/JustABearOz/PoshColor
Yes, I know its not your mod or page, I just thought it would be good information to help you better understand whats going on.
The PoshColor does work UNTIL I restart the terminal. Thats when it goes back to normal, meaning it wont stick.
Even when doing it in administration mode and even when opening up permissions to the folder so it can write to it.
I'm out of ideas, unless I missed something. I just wanted you to see the different avenues I went through π€
And lastly, yes I am the administrator and owner of this computer. ππ
from terminal-icons.
If colors aren't showing as well, then this isn't a font issue. It sounds like the formatting file isn't being loaded (or another module's formatting file is taking precedence. PowerShell will only use one formatting file for a given type at a time. Terminal-Icons has custom formatters for System.IO.DirectoryInfo
and System.IO.FileInfo
. To eliminate any other modules, can you try starting a new PowerShell session without loading your profile, then explicitly loading Terminal-Icons? Something like this:
pwsh -noprofile { Import-Module Terminal-Icons; Get-ChildItem }
from terminal-icons.
I entered that line in PowerShell v7.1.3 in administration mode and got back this.
Import-Module: The specified module 'Terminal-Icons' was not loaded because no valid module file was found in any module directory.
from terminal-icons.
What about non-elevated? It's shouldn't matter if PowerShell is running as administrator or not.
What do you see when you run the following? Both as a normal user and running as Administrator.
Get-Module Terminal-Icons -ListAvailable
from terminal-icons.
Directory: C:\Users\Twsted\Documents\PowerShell\Modules
ModuleType Version PreRelease Name PSEdition ExportedCommands
---------- ------- ---------- ---- --------- ----------------
Script 0.5.2 Terminal-Icons Desk {Add-TerminalIconsColorTheme, Add-Termiβ¦
from terminal-icons.
I wanted to note. A friend of mine had me type in a command, and we both found out that microsoft actually
installs powershell in several locations at the same time. (yes, I know its weird) but thats microsoft for ya π€·ββοΈ
$env:PSModulePath
C:\Users\Twsted\Documents\PowerShell\Modules;C:\Program Files\PowerShell\Modules;c:\program files\powershell\7\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
Just thought i would mention it, if for some reason it might help.
from terminal-icons.
Related Issues (20)
- Provide color to the entire line and not just the filename and icon
- Alignment issues in some hosts with Format-Wide (May be Nerd Fonts V3 specific) HOT 3
- Icons not displaying correctly PS7 via Windows Terminal HOT 3
- [FEATURE] Add support for the .c++ and .cxx extensions for C++ files HOT 1
- Glyphs for Jenkinsfile (already supported by nerdfonts) HOT 2
- Fix `Terminal-Icons` for Nerd Fonts v3.0 HOT 1
- Treat OneDrive for Business folders like OneDrive
- Not all icons are being displayed correctly HOT 3
- Emoji-based icon themes HOT 3
- Still slow HOT 14
- Some icons don't show correctly HOT 8
- Getting error on importing the terminal icons module
- [bug/show-terminaliconstheme] Command displays default file icon on folders
- [Feature Request] Provide a hook to further process link path info
- Getting Error Import-PowerShellDataFile: Cannot generate a PowerShell object for a ScriptBlock evaluating dynamic expressions. After Running Import-Module -Name Terminal-Icons in Microsoft.PowerShell_profile.ps1 when you host used in Thai Regional format
- Import-Clixml Error when opening Terminal
- There is bug with using version 0.11, with some icons displaying as "?" HOT 3
- Import-Module Terminal-Icons breaks application of custom Format.ps1xml files (when loaded in VsCode)
- Why does some of my icons doesn't show? HOT 1
- cloud file losing identity
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 terminal-icons.