Skip to content

Commit 3ce20a4

Browse files
committed
rename shortlink
1 parent fb39b31 commit 3ce20a4

File tree

2 files changed

+39
-30
lines changed

2 files changed

+39
-30
lines changed

src/powershell-extended/ENHANCEMENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ If you wish, you may also select any other font from [nerdfonts.com](https://www
3838
- Copy & paste the following code into the terminal window:
3939

4040
```powershell
41-
& ([scriptblock]::Create((iwr 'https://bit.ly/ps-install-nerdfont'))) -Name cascadia-code, cascadia-mono
41+
& ([scriptblock]::Create((iwr 'https://bit.ly/ps-nerdfont-installer'))) -Name cascadia-code, cascadia-mono
4242
```
4343
- Press `Enter` to run the code.
4444
@@ -77,7 +77,7 @@ described below.
7777
- Copy & paste the following code into the terminal window:
7878
7979
```powershell
80-
& ([scriptblock]::Create((iwr 'https://bit.ly/ps-install-nerdfont')))
80+
& ([scriptblock]::Create((iwr 'https://bit.ly/ps-nerdfont-installer')))
8181
```
8282
- Press `Enter` to run the code.
8383

src/powershell-extended/Invoke-NerdFontInstaller.ps1

Lines changed: 37 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,73 @@
11
#!/usr/bin/env pwsh
22

33
<#PSScriptInfo
4+
45
.VERSION 1.0.0
6+
57
.GUID a3238c59-8a0e-4c11-a334-f071772d1255
8+
69
.AUTHOR Julian Pawlowski
10+
711
.COPYRIGHT © 2024 Julian Pawlowski.
8-
.TAGS nerd-fonts, nerdfonts
12+
13+
.TAGS nerd-fonts nerdfonts cascadia-code cascadia-mono
14+
915
.LICENSEURI https://github.com/jpawlowski/devcontainer-features/blob/main/LICENSE.txt
16+
1017
.PROJECTURI https://github.com/jpawlowski/devcontainer-features
18+
1119
.ICONURI
20+
1221
.EXTERNALMODULEDEPENDENCIES
22+
1323
.REQUIREDSCRIPTS
24+
1425
.EXTERNALSCRIPTDEPENDENCIES
26+
1527
.RELEASENOTES
1628
Version 1.0.0 (2024-08-28)
1729
- Initial release.
18-
.DESCRIPTION
19-
An interactive installer for Nerd Fonts and Cascadia Code on Windows, macOS, or Linux.
20-
21-
You may also run this script directly from the web using the following command:
30+
#>
2231

23-
```powershell
24-
& ([scriptblock]::Create((iwr 'https://bit.ly/ps-install-nerdfont')))
25-
```
32+
<#
33+
.SYNOPSIS
34+
Install Nerd Fonts on Windows, macOS, or Linux.
2635
27-
Parameters may be passed just like any other PowerShell script. For example:
36+
You may also run this script directly from the web using the following command:
2837
2938
```powershell
30-
& ([scriptblock]::Create((iwr 'https://bit.ly/ps-install-nerdfont'))) -Name cascadia-code, cascadia-mono
39+
& ([scriptblock]::Create((iwr 'https://bit.ly/ps-nerdfont-installer')))
3140
```
3241
33-
To get a lest of available Nerd Fonts, use the following command:
42+
Parameters may be passed at the end just like any other PowerShell script.
3443
35-
```powershell
36-
& ([scriptblock]::Create((iwr 'https://bit.ly/ps-install-nerdfont'))) -List All
37-
```
38-
#>
44+
.DESCRIPTION
45+
An interactive installer for Nerd Fonts and Cascadia Code on Windows, macOS, or Linux.
3946
40-
<#
41-
.SYNOPSIS
42-
Install Nerd Fonts on Windows, macOS, or Linux.
47+
The script downloads the font archive from the GitHub release pages and extracts the font files to
48+
the user's font directory, or the system font directory when using the AllUsers scope with
49+
elevated permissions.
4350
4451
You may also run this script directly from the web using the following command:
4552
4653
```powershell
47-
& ([scriptblock]::Create((iwr 'https://bit.ly/ps-install-nerdfont')))
54+
& ([scriptblock]::Create((iwr 'https://bit.ly/ps-nerdfont-installer')))
55+
56+
# Or alternatively without the shortened URL
57+
& ([scriptblock]::Create((iwr 'https://raw.githubusercontent.com/jpawlowski/devcontainer-features/main/src/powershell-extended/Invoke-NerdFontInstaller.ps1')))
4858
```
4959
50-
Parameters may be passed at the end just like any other PowerShell script.
60+
Parameters may be passed just like any other PowerShell script. For example:
5161
52-
.DESCRIPTION
53-
This PowerShell script installs Nerd Fonts on Windows, macOS, or Linux.
54-
Nerd Fonts is a project that patches developer targeted fonts with a high number of glyphs (icons).
62+
```powershell
63+
& ([scriptblock]::Create((iwr 'https://bit.ly/ps-nerdfont-installer'))) -Name cascadia-code, cascadia-mono
64+
```
5565
56-
The script also supports the installation of the Cascadia Code fonts from the Microsoft repository.
57-
These fonts have native Nerd Font and Powerline support since version 2404.23.
66+
To get a lest of available Nerd Fonts, use the following command:
5867
59-
The script downloads the font archive from the GitHub release page and extracts the font files to
60-
the user's font directory, or the system font directory when using the AllUsers scope on Windows
61-
with elevated permissions.
68+
```powershell
69+
& ([scriptblock]::Create((iwr 'https://bit.ly/ps-nerdfont-installer'))) -List All
70+
```
6271
6372
.PARAMETER Name
6473
The name of the Nerd Font to install.

0 commit comments

Comments
 (0)