Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9,340 changes: 7,186 additions & 2,154 deletions Terminal-Icons/Data/glyphs.ps1

Large diffs are not rendered by default.

198 changes: 99 additions & 99 deletions Terminal-Icons/Data/iconThemes/devblackops.psd1

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Terminal-Icons/Private/Resolve-Icon.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function Resolve-Icon {
} else {
$colorSet = $script:colorReset
}
$displayInfo['Target'] = ' ' + $glyphs['nf-mdi-arrow_right_thick'] + ' ' + $FileInfo.Target
$displayInfo['Target'] = ' ' + $glyphs['nf-md-arrow_right_thick'] + ' ' + $FileInfo.Target
break
}
'SymbolicLink' {
Expand All @@ -55,7 +55,7 @@ function Resolve-Icon {
} else {
$colorSet = $script:colorReset
}
$displayInfo['Target'] = ' ' + $glyphs['nf-mdi-arrow_right_thick'] + ' ' + $FileInfo.Target
$displayInfo['Target'] = ' ' + $glyphs['nf-md-arrow_right_thick'] + ' ' + $FileInfo.Target
break
} default {
if ($icons) {
Expand Down
2,238 changes: 2,238 additions & 0 deletions Terminal-Icons/Public/Invoke-TerminalIconsThemeMigration.ps1

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions Terminal-Icons/Public/Set-TerminalIconsIcon.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function Set-TerminalIconsIcon {
function Set-TerminalIconsIcon {
<#
.SYNOPSIS
Set a specific icon in the current Terminal-Icons icon theme or allows
Expand Down Expand Up @@ -27,17 +27,17 @@

Set README.md files to display a text file icon.
.EXAMPLE
PS> Set-TerminalIconsIcon -FileExtension ".xml" -Glyph "nf-mdi-file_xml"
PS> Set-TerminalIconsIcon -FileExtension ".xml" -Glyph "nf-md-xml"

Set XML files to display an XML file icon.
.EXAMPLE
PS> Set-TerminalIconsIcon -Directory ".github" -Glyph "nf-mdi-github_face"
PS> Set-TerminalIconsIcon -Directory ".github" -Glyph "nf-dev-github_alt"

Set directories named ".github" to display an Octocat face icon.
.EXAMPLE
PS> Set-TerminalIconsIcon -Glyph "nf-mdi-xml" -NewGlyph "nf-mdi-file_xml"
PS> Set-TerminalIconsIcon -Glyph "nf-md-xml" -NewGlyph "nf-md-xml"

Changes all uses of the "nf-mdi-xml" double-wide glyph to be the "nf-mdi-file_xml"
Changes all uses of the "nf-md-xml" double-wide glyph to be the "nf-md-xml"
single-width XML file glyph.
.INPUTS
None.
Expand Down
86 changes: 86 additions & 0 deletions docs/en-US/Invoke-TerminalIconsThemeMigration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
---
external help file: Terminal-Icons-help.xml
Module Name: Terminal-Icons
online version:
schema: 2.0.0
---

# Invoke-TerminalIconsThemeMigration

## SYNOPSIS
Used to migrate your terminal icon themes to Nerd Fonts v3.

## SYNTAX

### Path
```
Invoke-TerminalIconsThemeMigration [-Path] <String[]> [<CommonParameters>]
```

### LiteralPath
```
Invoke-TerminalIconsThemeMigration [-LiteralPath] <String[]> [<CommonParameters>]
```

## DESCRIPTION
Used to migrate your terminal icon themes to Nerd Fonts v3.

## EXAMPLES

### EXAMPLE 1
```
Invoke-TerminalIconsThemeMigration -Path ./my_icon_theme.psd1 | Out-File ./migrated_icon_theme.psd1
```

Loads the theme, migrates classes and then saves the newly migrated theme using the Out-File command.

## PARAMETERS

### -Path
{{ Fill Path Description }}

```yaml
Type: String[]
Parameter Sets: Path
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: True
```

### -LiteralPath
{{ Fill LiteralPath Description }}

```yaml
Type: String[]
Parameter Sets: LiteralPath
Aliases: PSPath

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```

### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

### None.
## OUTPUTS

### System.String
### The theme that has been fully migrated.
## NOTES

## RELATED LINKS

[Invoke-TerminalIconsThemeMigration]()

[Invoke-TerminalIconsThemeMigration]()

8 changes: 4 additions & 4 deletions docs/en-US/Set-TerminalIconsIcon.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,24 +52,24 @@ Set README.md files to display a text file icon.

### EXAMPLE 2
```
Set-TerminalIconsIcon -FileExtension ".xml" -Glyph "nf-mdi-file_xml"
Set-TerminalIconsIcon -FileExtension ".xml" -Glyph "nf-md-xml"
```

Set XML files to display an XML file icon.

### EXAMPLE 3
```
Set-TerminalIconsIcon -Directory ".github" -Glyph "nf-mdi-github_face"
Set-TerminalIconsIcon -Directory ".github" -Glyph "nf-dev-github_alt"
```

Set directories named ".github" to display an Octocat face icon.

### EXAMPLE 4
```
Set-TerminalIconsIcon -Glyph "nf-mdi-xml" -NewGlyph "nf-mdi-file_xml"
Set-TerminalIconsIcon -Glyph "nf-md-xml" -NewGlyph "nf-md-xml"
```

Changes all uses of the "nf-mdi-xml" double-wide glyph to be the "nf-mdi-file_xml"
Changes all uses of the "nf-md-xml" double-wide glyph to be the "nf-md-xml"
single-width XML file glyph.

## PARAMETERS
Expand Down
47 changes: 42 additions & 5 deletions docs/en-US/Set-TerminalIconsTheme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,15 @@ schema: 2.0.0

## SYNTAX

### theme (Default)
```
Set-TerminalIconsTheme [[-IconTheme] <String>] [[-ColorTheme] <String>] [-Force] [-WhatIf] [-Confirm]
Set-TerminalIconsTheme [-IconTheme <String>] [-ColorTheme <String>] [-Force] [-WhatIf] [-Confirm]
[<CommonParameters>]
```

### notheme
```
Set-TerminalIconsTheme [-DisableColorTheme] [-DisableIconTheme] [-Force] [-WhatIf] [-Confirm]
[<CommonParameters>]
```

Expand All @@ -36,11 +43,11 @@ PS C:\> {{ Add example code here }}

```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: theme
Aliases:

Required: False
Position: 1
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Expand All @@ -51,16 +58,46 @@ Accept wildcard characters: False

```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: theme
Aliases:

Required: False
Position: 2
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -DisableColorTheme
Disables custom colors and uses default terminal color.

```yaml
Type: SwitchParameter
Parameter Sets: notheme
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```

### -DisableIconTheme
Disables custom icons and shows only shows the directory or file name.

```yaml
Type: SwitchParameter
Parameter Sets: notheme
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```

### -Force
Bypass confirmation messages.

Expand Down