From 6b623c1ed56adca7cb5f09d11afdf78167170c14 Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Mon, 3 Nov 2025 00:21:21 +0000 Subject: [PATCH] Update cheatsheets --- tldr/bun | 14 +++++++------- tldr/linux/systemctl-list-dependencies | 2 +- tldr/linux/systemctl-list-jobs | 2 +- tldr/linux/systemctl-list-timers | 2 +- tldr/msgattrib | 2 +- tldr/oh-my-posh | 2 +- tldr/tv | 2 +- tldr/windows/get-clipboard | 2 +- tldr/windows/set-alias | 2 +- tldr/windows/set-clipboard | 2 +- 10 files changed, 16 insertions(+), 16 deletions(-) diff --git a/tldr/bun b/tldr/bun index d478f3fa..47dcf4e6 100644 --- a/tldr/bun +++ b/tldr/bun @@ -9,6 +9,10 @@ source: https://github.com/tldr-pages/tldr.git > Includes a bundler, a test runner, and a package manager. > More information: . +- 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): diff --git a/tldr/linux/systemctl-list-dependencies b/tldr/linux/systemctl-list-dependencies index d5bbd3cf..56efe9a8 100644 --- a/tldr/linux/systemctl-list-dependencies +++ b/tldr/linux/systemctl-list-dependencies @@ -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: . +> More information: . - Show the dependency tree of `default.target`: diff --git a/tldr/linux/systemctl-list-jobs b/tldr/linux/systemctl-list-jobs index 0e2a12b8..0939ce0c 100644 --- a/tldr/linux/systemctl-list-jobs +++ b/tldr/linux/systemctl-list-jobs @@ -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: . +> More information: . - List all active jobs: diff --git a/tldr/linux/systemctl-list-timers b/tldr/linux/systemctl-list-timers index c842103e..93f07b06 100644 --- a/tldr/linux/systemctl-list-timers +++ b/tldr/linux/systemctl-list-timers @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # systemctl list-timers > List all active systemd timers. -> More information: . +> More information: . - List all active timers: diff --git a/tldr/msgattrib b/tldr/msgattrib index 89716ef5..16e91078 100644 --- a/tldr/msgattrib +++ b/tldr/msgattrib @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # msgattrib > Filter and manipulate message attributes in `.po` translation files. -> More information: . +> More information: . - Keep only translated messages: diff --git a/tldr/oh-my-posh b/tldr/oh-my-posh index 477fe251..8bbb23e8 100644 --- a/tldr/oh-my-posh +++ b/tldr/oh-my-posh @@ -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` diff --git a/tldr/tv b/tldr/tv index b7e4622b..ae4dafeb 100644 --- a/tldr/tv +++ b/tldr/tv @@ -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: . - Launch with the default channel: diff --git a/tldr/windows/get-clipboard b/tldr/windows/get-clipboard index 62ec08aa..3904666c 100644 --- a/tldr/windows/get-clipboard +++ b/tldr/windows/get-clipboard @@ -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: . diff --git a/tldr/windows/set-alias b/tldr/windows/set-alias index 29f87726..15be3dc9 100644 --- a/tldr/windows/set-alias +++ b/tldr/windows/set-alias @@ -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: . diff --git a/tldr/windows/set-clipboard b/tldr/windows/set-clipboard index b3a397c8..c487cb6d 100644 --- a/tldr/windows/set-clipboard +++ b/tldr/windows/set-clipboard @@ -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: .