Update cheatsheets

This commit is contained in:
ivuorinen
2025-10-30 00:20:37 +00:00
parent 44de08faea
commit a2961fe873
59 changed files with 463 additions and 80 deletions

12
tldr/windows/ghy Normal file
View File

@@ -0,0 +1,12 @@
---
syntax: markdown
tags: [tldr, windows]
source: https://github.com/tldr-pages/tldr.git
---
# ghy
> This command is an alias of `Get-History`.
- View documentation for the original command:
`tldr Get-History`

12
tldr/windows/h Normal file
View File

@@ -0,0 +1,12 @@
---
syntax: markdown
tags: [tldr, windows]
source: https://github.com/tldr-pages/tldr.git
---
# h
> This command is an alias of `Get-History`.
- View documentation for the original command:
`tldr Get-History`

12
tldr/windows/history Normal file
View File

@@ -0,0 +1,12 @@
---
syntax: markdown
tags: [tldr, windows]
source: https://github.com/tldr-pages/tldr.git
---
# history
> This command is an alias of `Get-History`.
- View documentation for the original command:
`tldr Get-History`

12
tldr/windows/sal Normal file
View File

@@ -0,0 +1,12 @@
---
syntax: markdown
tags: [tldr, windows]
source: https://github.com/tldr-pages/tldr.git
---
# sal
> This command is an alias of `Set-Alias`.
- View documentation for the original command:
`tldr set-alias`

18
tldr/windows/set-alias Normal file
View File

@@ -0,0 +1,18 @@
---
syntax: markdown
tags: [tldr, windows]
source: https://github.com/tldr-pages/tldr.git
---
# Set-Alias
> A powershell command to set or modify alias.
> Note: `sal` can be used as an alias for `Set-Alias`.
> More information: <https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/set-alias>.
- Create or reassign new alias:
`Set-Alias -Name {{text}} -Value {{command}}`
- Add a description to alias:
`Set-Alias -Name {{text}} -Value {{command}} -Description "{{description}}"`

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Windows Package Manager.
> More information: <https://learn.microsoft.com/windows/package-manager/winget>.
- Install a package:
- Install a package (use `--source` when package is available from multiple sources):
`winget {{[add|install]}} {{package}}`