mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-12 06:47:36 +00:00
Update cheatsheets
This commit is contained in:
@@ -17,9 +17,9 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`bun pm bin`
|
||||
|
||||
- List installed dependencies:
|
||||
- Display the default trusted dependencies:
|
||||
|
||||
`bun pm ls`
|
||||
`bun pm default-trusted`
|
||||
|
||||
- Print the npm registry username:
|
||||
|
||||
|
||||
@@ -5,11 +5,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# chezmoi
|
||||
|
||||
> A multi-machine dotfile manager, written in Go.
|
||||
> Manage dotfiles across multiple diverse machines.
|
||||
> See also: `stow`, `tuckr`, `vcsh`, `homeshick`.
|
||||
> 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`
|
||||
|
||||
@@ -35,7 +35,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Apply the changes:
|
||||
|
||||
`chezmoi -v apply`
|
||||
`chezmoi apply`
|
||||
|
||||
- Pull changes from a remote repository and apply them:
|
||||
|
||||
|
||||
@@ -24,11 +24,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- 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):
|
||||
|
||||
`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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user