mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-26 01:52:49 +00:00
Update cheatsheets
This commit is contained in:
@@ -9,10 +9,10 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> See also: `xdg-user-dir`.
|
||||
> More information: <https://manned.org/xdg-user-dirs-update>.
|
||||
|
||||
- Change XDG's DESKTOP directory to the specified directory (must be absolute):
|
||||
- Change XDG's DESKTOP directory to the specified directory:
|
||||
|
||||
`xdg-user-dirs-update --set DESKTOP "{{path/to/directory}}"`
|
||||
`xdg-user-dirs-update --set DESKTOP "/{{path/to/directory}}"`
|
||||
|
||||
- Write the result to the specified dry-run-file instead of the `user-dirs.dirs` file:
|
||||
|
||||
`xdg-user-dirs-update --dummy-output "{{path/to/dry_run_file}}" --set {{xdg_user_directory}} "{{path/to/directory}}"`
|
||||
`xdg-user-dirs-update --dummy-output "{{path/to/dry_run_file}}" --set {{xdg_user_directory}} "/{{path/to/directory}}"`
|
||||
|
||||
Reference in New Issue
Block a user