mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-09-19 09:51:48 +02:00
12 lines
295 B
PowerShell
12 lines
295 B
PowerShell
|
# Removing fonts
|
|||
|
function Get-CurrentDirectory
|
|||
|
{{
|
|||
|
$thisName = $MyInvocation.MyCommand.Name
|
|||
|
[IO.Path]::GetDirectoryName((Get-Content function:$thisName).File)
|
|||
|
}}
|
|||
|
|
|||
|
$RemoveFont = Join-Path (Get-CurrentDirectory) "Remove-Font.ps1"
|
|||
|
foreach ($font in ({fonts})) {{
|
|||
|
& "$RemoveFont" "$font"
|
|||
|
}}
|