diff --git a/tldr/git-clean b/tldr/git-clean index 3c7cec46..9d817fc9 100644 --- a/tldr/git-clean +++ b/tldr/git-clean @@ -30,7 +30,7 @@ source: https://github.com/tldr-pages/tldr.git - Delete untracked files except those matching the given patterns: -`git clean {{[-f|--force]}} {{[-e|--exclude]}} {{'*.ext'}} {{[-e|--exclude]}} {{path/to/directory}}/` +`git clean {{[-f|--force]}} {{[-e|--exclude]}} '{{*.ext}}' {{[-e|--exclude]}} {{path/to/directory}}/` - Delete untracked files and e[x]cluded files (those listed in `.gitignore` and `.git/info/exclude`): diff --git a/tldr/linux/csplit b/tldr/linux/csplit index 0e2161d7..c88f88a4 100644 --- a/tldr/linux/csplit +++ b/tldr/linux/csplit @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # csplit > Split a file into pieces. -> This generates files named "xx00", "xx01", and so on. +> This generates files named `xx00`, `xx01`, and so on. > More information: . - Split a file in two parts, starting the second one at line 10: diff --git a/tldr/linux/systemctl-condreload b/tldr/linux/systemctl-condreload new file mode 100644 index 00000000..65e5cb5a --- /dev/null +++ b/tldr/linux/systemctl-condreload @@ -0,0 +1,12 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# systemctl condreload + +> This command is an alias of `systemctl try-reload-or-restart`. + +- View documentation for the original command: + +`tldr systemctl try-reload-or-restart` diff --git a/tldr/linux/systemctl-condrestart b/tldr/linux/systemctl-condrestart new file mode 100644 index 00000000..92acbf89 --- /dev/null +++ b/tldr/linux/systemctl-condrestart @@ -0,0 +1,12 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# systemctl condrestart + +> This command is an alias of `systemctl try-restart`. + +- View documentation for the original command: + +`tldr systemctl try-restart` diff --git a/tldr/linux/systemctl-condstop b/tldr/linux/systemctl-condstop new file mode 100644 index 00000000..91c3f032 --- /dev/null +++ b/tldr/linux/systemctl-condstop @@ -0,0 +1,12 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# systemctl condstop + +> This command is an alias of `systemctl stop`. + +- View documentation for the original command: + +`tldr systemctl stop` diff --git a/tldr/linux/systemctl-force-reload b/tldr/linux/systemctl-force-reload new file mode 100644 index 00000000..1f0dac8a --- /dev/null +++ b/tldr/linux/systemctl-force-reload @@ -0,0 +1,12 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# systemctl force-reload + +> This command is an alias of `systemctl try-reload-or-restart`. + +- View documentation for the original command: + +`tldr systemctl try-reload-or-restart` diff --git a/tldr/linux/systemctl-reload-or-try-restart b/tldr/linux/systemctl-reload-or-try-restart new file mode 100644 index 00000000..017ee23e --- /dev/null +++ b/tldr/linux/systemctl-reload-or-try-restart @@ -0,0 +1,12 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# systemctl reload-or-try-restart + +> This command is an alias of `systemctl try-reload-or-restart`. + +- View documentation for the original command: + +`tldr systemctl try-reload-or-restart` diff --git a/tldr/unsetopt b/tldr/unsetopt new file mode 100644 index 00000000..8abaeee7 --- /dev/null +++ b/tldr/unsetopt @@ -0,0 +1,23 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# unsetopt + +> Unset options for the Z shell (`zsh`). +> Note: Zsh options are case-insensitive and underscores are ignored. +> See also: `setopt` to set options. +> More information: . + +- List all currently unset options (use `setopt` to list set options): + +`unsetopt` + +- Unset a specific option: + +`unsetopt {{option_name}}` + +- Unset multiple options at once: + +`unsetopt {{option_name1 option_name2 ...}}`