Update cheatsheets

This commit is contained in:
ivuorinen
2026-02-12 00:27:18 +00:00
parent 084ddc68da
commit 42219ff8ca
3 changed files with 7 additions and 7 deletions

View File

@@ -17,9 +17,9 @@ source: https://github.com/tldr-pages/tldr.git
`bun pm bin` `bun pm bin`
- List installed dependencies: - Display the default trusted dependencies:
`bun pm ls` `bun pm default-trusted`
- Print the npm registry username: - Print the npm registry username:

View File

@@ -5,11 +5,11 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# chezmoi # chezmoi
> A multi-machine dotfile manager, written in Go. > Manage dotfiles across multiple diverse machines.
> See also: `stow`, `tuckr`, `vcsh`, `homeshick`. > See also: `stow`, `tuckr`, `vcsh`, `homeshick`.
> More information: <https://www.chezmoi.io/reference/>. > More information: <https://www.chezmoi.io/reference/>.
- Setup up `chezmoi`, creating a Git repository in `~/.local/share/chezmoi`: - Set up `chezmoi`, creating a Git repository in `~/.local/share/chezmoi`:
`chezmoi init` `chezmoi init`
@@ -35,7 +35,7 @@ source: https://github.com/tldr-pages/tldr.git
- Apply the changes: - Apply the changes:
`chezmoi -v apply` `chezmoi apply`
- Pull changes from a remote repository and apply them: - Pull changes from a remote repository and apply them:

View File

@@ -24,11 +24,11 @@ source: https://github.com/tldr-pages/tldr.git
- Copy the contents of a file into the system clipboard: - Copy the contents of a file into the system clipboard:
`xclip {{[-se|-selection]}} {{[c|clipboard]}} {{input_file.txt}}` `xclip {{[-se|-selection]}} {{[c|clipboard]}} {{path/to/input_file.txt}}`
- Copy the contents of a PNG into the system clipboard (can be pasted in other programs correctly): - Copy the contents of a PNG into the system clipboard (can be pasted in other programs correctly):
`xclip {{[-se|-selection]}} {{[c|clipboard]}} {{[-t|-target]}} image/png {{input_file.png}}` `xclip {{[-se|-selection]}} {{[c|clipboard]}} {{[-t|-target]}} image/png {{path/to/input_file.png}}`
- Copy the user input in the console into the system clipboard: - Copy the user input in the console into the system clipboard: