Skip to content

Faster Terminal Icons⚓︎

Possible improvements of load time #76

Auto⚓︎

Run this command to automatically apply the changes

iex (iwr https://github.com/tahmidul612/pwsh-config/raw/master/mods/faster-terminal-icons.ps1).Content

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