Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.16 KB

faster-terminal-icons.md

File metadata and controls

37 lines (24 loc) · 1.16 KB

Faster Terminal-Icons

Possible improvements of load time #76

Auto

Run this command to automatically apply the changes

irm https://github.com/tahmidul612/pwsh-config/raw/master/mods/faster-terminal-icons.ps1 | iex

Manual (Recommended)

The Terminal-Icons.psm1 file is located in Split-Path -Parent (Get-Module Terminal-Icons).Path

Export userThemeData, colorSequences and glyphs to a xml file. This can be done by appending the following to the Terminal-Icons.psm1 file:

$userThemeData,$colorSequences,$glyphs|Export-Clixml -Path "$moduleRoot/Data/Data.xml"

After appending the command to the file, import Terminal-Icons module to create the Data.xml file

Import-Module Terminal-Icons

Replace the Terminal-Icons.psm1 file with the modified version

iwr -uri "https://github.com/tahmidul612/pwsh-config/raw/master/mods/Terminal-Icons.psm1" -outfile "(Get-Module Terminal-Icons).Path"

Use diff or check the github issue for the changes made to the file