Update cheatsheets

This commit is contained in:
ivuorinen
2024-08-29 00:15:54 +00:00
parent 498596c46b
commit 6fb3a425c3
3 changed files with 101 additions and 0 deletions

42
tldr/linux/kde-builder Normal file
View File

@@ -0,0 +1,42 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# kde-builder
> Easily build KDE components from its source repositories.
> Drop-in replacement for `kdesrc-build`.
> More information: <https://kde-builder.kde.org/en/cmdline/cmdline-usage.html>.
- Initialize `kde-builder`:
`kde-builder --initial-setup`
- Compile a KDE component and its dependencies from the source:
`kde-builder {{component_name}}`
- Compile a component without updating its local code and without compiling its [D]ependencies:
`kde-builder --no-src --no-include-dependencies {{component_name}}`
- [r]efresh the build directories before compiling:
`kde-builder --refresh-build {{component_name}}`
- Resume compilation from a specific dependency:
`kde-builder --resume-from={{dependency_component}} {{component_name}}`
- Run a component with a specified executable name:
`kde-builder --run {{executable_name}}`
- Build all configured components:
`kde-builder`
- Use system libraries in place of a component if it fails to build:
`kde-builder --no-stop-on-failure {{component_name}}`

33
tldr/ya Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# ya
> Manage Yazi packages and plugins.
> More information: <https://github.com/sxyazi/yazi>.
- Add a package:
`ya pack -a {{package}}`
- Upgrade all packages:
`ya pack -u`
- Subscribe to messages from all remote instances:
`ya sub {{kinds}}`
- Publish a message to the current instance with string body:
`ya pub --str {{string_message}}`
- Publish a message to the current instance with JSON body:
`ya pub --json {{json_message}}`
- Publish a message to the specified instance with string body:
`ya pub-to --str {{message}} {{receiver}} {{kind}}`

26
tldr/yazi Normal file
View File

@@ -0,0 +1,26 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# yazi
> Blazing fast terminal file manager written in Rust.
> Efficient, user-friendly, and customizable file management experience.
> More information: <https://github.com/sxyazi/yazi>.
- Launch Yazi from the current directory:
`yazi`
- Print debug information:
`yazi --debug`
- Write the current working directory on exit to the file:
`yazi --cwd-file {{path/to/cwd_file}}`
- Clear the cache directory:
`yazi --clear-cache`