From 6fb3a425c3b7669d31bd10ec401e74cb453a039e Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Thu, 29 Aug 2024 00:15:54 +0000 Subject: [PATCH] Update cheatsheets --- tldr/linux/kde-builder | 42 ++++++++++++++++++++++++++++++++++++++++++ tldr/ya | 33 +++++++++++++++++++++++++++++++++ tldr/yazi | 26 ++++++++++++++++++++++++++ 3 files changed, 101 insertions(+) create mode 100644 tldr/linux/kde-builder create mode 100644 tldr/ya create mode 100644 tldr/yazi diff --git a/tldr/linux/kde-builder b/tldr/linux/kde-builder new file mode 100644 index 00000000..25d21f2e --- /dev/null +++ b/tldr/linux/kde-builder @@ -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: . + +- 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}}` diff --git a/tldr/ya b/tldr/ya new file mode 100644 index 00000000..08f080d8 --- /dev/null +++ b/tldr/ya @@ -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: . + +- 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}}` diff --git a/tldr/yazi b/tldr/yazi new file mode 100644 index 00000000..a25d0ce2 --- /dev/null +++ b/tldr/yazi @@ -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: . + +- 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`