Update cheatsheets

This commit is contained in:
ivuorinen
2025-11-03 00:21:21 +00:00
parent 3b981b2987
commit 6b623c1ed5
10 changed files with 16 additions and 16 deletions

View File

@@ -9,6 +9,10 @@ source: https://github.com/tldr-pages/tldr.git
> Includes a bundler, a test runner, and a package manager.
> More information: <https://bun.com/docs>.
- Create a new Bun project in the current directory:
`bun init`
- Run a JavaScript file or a `package.json` script:
`bun run {{path/to/file|script_name}}`
@@ -19,19 +23,15 @@ source: https://github.com/tldr-pages/tldr.git
- Download and install all the packages listed as dependencies in `package.json`:
`bun install`
`bun {{[i|install]}}`
- Add a dependency to `package.json`:
`bun add {{module_name}}`
`bun {{[a|add]}} {{module_name}}`
- Remove a dependency from `package.json`:
`bun remove {{module_name}}`
- Create a new Bun project in the current directory:
`bun init`
`bun {{[rm|remove]}} {{module_name}}`
- Start a REPL (interactive shell):

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Show a unit's dependency tree in systemd.
> See also: `systemctl list-units` to list loaded units.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#%0A%20%20%20%20%20%20%20%20%20%20%20%20list-dependencies%0A%20%20%20%20%20%20%20%20%20%20%20%20UNIT...%0A%20%20%20%20%20%20%20%20%20%20>.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#%0A%20%20%20%20%20%20%20%20%20%20%20%20list-dependencies%0A%20%20%20%20%20%20%20%20%20%20%20%20UNIT...%0A%20%20%20%20%20%20%20%20%20%20>.
- Show the dependency tree of `default.target`:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl list-jobs
> List of active systemd jobs that are currently queued or running on the system.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#list-jobs%20PATTERN>.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#list-jobs%20PATTERN%E2%80%A6>.
- List all active jobs:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl list-timers
> List all active systemd timers.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#list-timers%20PATTERN>.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#list-timers%20PATTERN%E2%80%A6>.
- List all active timers:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# msgattrib
> Filter and manipulate message attributes in `.po` translation files.
> More information: <https://www.gnu.org/software/gettext/manual/html_node/msgattrib-Invocation.html>.
> More information: <https://www.gnu.org/software/gettext/manual/gettext.html#msgattrib-Invocation>.
- Keep only translated messages:

View File

@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
`eval "$(oh-my-posh init bash --config {{path/to/theme}})"`
- Initialize for Powershell:
- Initialize for PowerShell:
`oh-my-posh init pwsh --config {{path/to/theme}} | Invoke-Expression`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# tv
> Cross-platform, fast, extensible fuzzy-finder tool.
> Works with channels (e.g., files, env, git repos) or from `stdin`.
> Works with "channels" (e.g., files, env, git repos) or from `stdin`.
> More information: <https://alexpasmantier.github.io/television/>.
- Launch with the default channel:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# Get-Clipboard
> A powershell command to get content from clipboard.
> A PowerShell command to get content from clipboard.
> Note: `gcb` can be used as an alias for `Get-Clipboard`.
> More information: <https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-clipboard>.

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# Set-Alias
> A powershell command to set or modify 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>.

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# Set-Clipboard
> Powershell command to set content to clipboard.
> PowerShell command to set content to clipboard.
> Note: `scb` can be used as an alias for `Set-Clipboard`.
> More information: <https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/set-clipboard>.