前言:Windows Terminal 默认字体是 Cascadia Code 而不是 Cascadia Code PL,所以不支持PowerLine(PL),原本打算使用微软官方推荐的Cascadia Code PL,测试后发现部分主题样式还是缺少图标,所以就打算使用开源项目“Nerd Fonts”对字体库进行扩充修补,使字体库支持丰富的图标。 Nerd Fonts Nerd Fonts是一个使用大量字体图标...
首先下载文件 wget -c https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/SourceCodePro.zip 然后解压到文件夹: unzip SourceCodePro -d ~/dotF/font/SourcCodePro ~/dotF/font/SourcCodePro ln -sf ~/dotF/font/SourcCodePro ~/.font mkfontscale # 系统的bin 在当前目录 生成核心字...
Nerd Fonts 是一个集图标集合、字体图标库以及字体修补工具为一体的综合平台。若在 Windows 系统中希望在 Windows Terminal 与 Linux/WSL 环境中显示各种图标,可能需要经过一些步骤。通过 Nerd Fonts 官网,可以获取到一系列的字体文件。首先,下载所需字体文件。接着,将下载的文件解压至指定文件夹中。解...
Install the nerd font (you can use any font from this site https://www.nerdfonts.com/font-downloads). In my case "MesloLGS Nerd Font" Go to vscode settings and configure the property "terminal.integrated.fontFamily" with name of installed font: // settings.json { "terminal.integrated....
若要设置 Nerd Font 用于 Oh My Posh 和 Terminal Icons,请通过从 Windows 终端下拉菜单中选择“设置”(Ctrl+,) 来打开 Windows 终端设置 UI。 选择要在其中应用字体的配置文件(例如 PowerShell),然后选择“外观”。在“字体”下拉菜单中,选择Cascadia Code NF或要使用的 Nerd Font。
若要设置 Nerd Font 用于 Oh My Posh 和 Terminal Icons,请通过从 Windows 终端下拉菜单中选择“设置”(Ctrl+,) 来打开 Windows 终端设置 UI。 选择要在其中应用字体的配置文件(例如 PowerShell),然后选择“外观”。在“字体”下拉菜单中,选择Cascadia Code NF或要使用的 Nerd Font。
scoop bucket add nerd-fonts 项目地址:https://github.com/matthewjberger/scoop-nerd-fonts 然后选择一个喜欢的字体进行安装 scoop install FiraCode-NF 另外,这个 bucket 里面的字体很多,现在已经不仅仅是 nerd font 了,也可以安装一些普通的字体,比如 ...
使用 Terminal-Icons 添加缺少的文件夹或文件图标 Install-Module -Name Terminal-Icons -Repository PS...
You can add a bit more flair to your shell by adding custom icons withTerminal-Icons. The image below is also using a custom Posh theme to add emojis to the prompt line. Note:You will need to set your font to aNerd Fontin order to get the Terminal Icons to appear. ...
Windows Terminal Preview 1.21 introduces long-awaited features like Buffer Restore and fontfall back as well as new experimental features like Scratchpad and the ability to load up an image as a texture. There's also a LOT MORE stuff so check out the rest of this blog post to learn more!