From 530f1babef90f0f5c1f3638d1406c15320ef137f Mon Sep 17 00:00:00 2001 From: "pedr.o" Date: Sun, 27 Aug 2023 18:26:53 +0200 Subject: [PATCH] Updating NerdFont's install (#1) --- README-pt.md | 18 ++++++++++++++++-- README.md | 21 +++++++++++++++++---- 2 files changed, 33 insertions(+), 6 deletions(-) diff --git a/README-pt.md b/README-pt.md index 0607d1c..ea1a933 100644 --- a/README-pt.md +++ b/README-pt.md @@ -194,9 +194,10 @@ Agora abra o arquivo `config.fish`, cole os códigos abaixo e depois Salve a alt Para trocar os "erros" [] por Simbolos, precisamos instalar uma fonte do **Nerd Fonts**. Iremos instalar a [**SourceCode Pro** (SauceCodePro NF)](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/SourceCodePro). Para ver mais Fontes [clique aqui](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts) -Entre nas pastas `Italic/complete` `Bold/complete` `Normal/complete` `SemiBold/complete` e baixe sempre as penúltimas Fontes (com o final **"Complete Windows Compatible.ttf"**) +Baixe a (última versão do Source Code)[https://github.com/ryanoasis/nerd-fonts/releases/latest], +indo em `Assests` e buscando por `SourceCodePro.zip`. -Vá na sua pasta de **Download** do Windows e execute todos os arquivos **.ttf** para instalar a fonte. +Vá na sua pasta de **Download** do Windows, dezipe o arquivo e execute todos os arquivos **.ttf** para instalar a fonte.
@@ -215,6 +216,19 @@ Clique em **Abrir o arquivo JSON** no canto inferior esquerdo da tela * Alterar o **name** do "Ubuntu" que você instalou para **Fish** (ou qualquer outro) * Adicionar o tema (colorScheme) "Campbell" * Adicionar o **guid** do **Fish** para ser o Perfil padrão do Windows Terminal + * Adicionar "SauceCodePro Nerd Font" em **font:face** + ```json + "profiles": + { + "defaults": + { + "font": + { + "face": "SauceCodePro Nerd Font" + } + }, + } + ``` ![terminal json](https://user-images.githubusercontent.com/66394117/167347842-28c7987f-f7d0-433c-a3cb-499e465e3d63.gif) diff --git a/README.md b/README.md index 5f8feb0..b6b663e 100644 --- a/README.md +++ b/README.md @@ -194,9 +194,10 @@ Now open the `config.fish` file, paste the codes below and then Save the file To replace the "errors" [] with Symbols, we need to install a font from **Nerd Fonts**. We'll install [**SourceCode Pro** (SauceCodePro NF)](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/SourceCodePro). To see more Fonts [click Here](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts) -Enter the folders `Italic/complete` `Bold/complete` `Normal/complete` `SemiBold/complete` and download the penultimate Font (ending with **"Complete Windows Compatible.ttf"**) +Download the (latest release of Source Code)[https://github.com/ryanoasis/nerd-fonts/releases/latest], +going into `Assests` and searching for `SourceCodePro.zip`. -Go to your **Download** folder and run all **.ttf** files to install the font. +Go to your **Download** folder, unzip and run all **.ttf** files to install the font.
@@ -211,11 +212,23 @@ Click on the little arrow **>** Settings Click **Open JSON file** in the lower-left corner of the screen -* Inside "profiles"**>**"default" do the changes below, then Save the file: +* Inside "profiles"**>**"defaults" do the changes below, then Save the file: * Change the **name** of the "Ubuntu" you installed to **Fish** (or any other) * Add the theme (colorScheme) "Campbell" * Add the **guid** of **Fish** to be the default Windows Terminal Profile - + * Add "SauceCodePro Nerd Font" to **font:face** + ```json + "profiles": + { + "defaults": + { + "font": + { + "face": "SauceCodePro Nerd Font" + } + }, + } + ``` ![json terminal](https://user-images.githubusercontent.com/66394117/167347842-28c7987f-f7d0-433c-a3cb-499e465e3d63.gif)