mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 02:15:30 +02:00
j, jo, jco: add alias pages; jc: move to jc.json and create disambiguation; autojump, bashmarks: add example and refer to each other (#16252)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
parent
298b72bce5
commit
1270b62962
7 changed files with 52 additions and 14 deletions
|
@ -2,8 +2,13 @@
|
|||
|
||||
> Quickly jump among the directories you visit the most.
|
||||
> Aliases like j or jc are provided for even less typing.
|
||||
> See also: `bashmarks`.
|
||||
> More information: <https://github.com/wting/autojump>.
|
||||
|
||||
- Add the autojump aliases to your shell:
|
||||
|
||||
`source /usr/share/autojump/autojump.{{bash|fish|zsh}}`
|
||||
|
||||
- Jump to a directory that contains the given pattern:
|
||||
|
||||
`j {{pattern}}`
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# bashmarks
|
||||
|
||||
> Save and jump to commonly used directories using 1 character commands.
|
||||
> See also: `autojump`.
|
||||
> More information: <https://github.com/huyng/bashmarks>.
|
||||
|
||||
- Add the bashmark aliases to your shell:
|
||||
|
|
7
pages/common/j.md
Normal file
7
pages/common/j.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# j
|
||||
|
||||
> This command is an alias of `autojump`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr autojump`
|
20
pages/common/jc.json.md
Normal file
20
pages/common/jc.json.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# jc
|
||||
|
||||
> Convert the output of multiple commands to JSON.
|
||||
> More information: <https://github.com/kellyjonbrazil/jc>.
|
||||
|
||||
- Convert command output to JSON via pipe:
|
||||
|
||||
`{{ifconfig}} | jc {{--ifconfig}}`
|
||||
|
||||
- Convert command output to JSON via magic syntax:
|
||||
|
||||
`jc {{ifconfig}}`
|
||||
|
||||
- Output pretty JSON via pipe:
|
||||
|
||||
`{{ifconfig}} | jc {{--ifconfig}} {{[-p|--pretty]}}`
|
||||
|
||||
- Output pretty JSON via magic syntax:
|
||||
|
||||
`jc {{[-p|--pretty]}} {{ifconfig}}`
|
|
@ -1,20 +1,11 @@
|
|||
# jc
|
||||
|
||||
> Convert the output of multiple commands to JSON.
|
||||
> More information: <https://github.com/kellyjonbrazil/jc>.
|
||||
> `jc` can refer to multiple commands with the same name.
|
||||
|
||||
- Convert command output to JSON via pipe:
|
||||
- View documentation for the `JSON` serializer:
|
||||
|
||||
`{{ifconfig}} | jc {{--ifconfig}}`
|
||||
`tldr jc.json`
|
||||
|
||||
- Convert command output to JSON via magic syntax:
|
||||
- View documentation for the `autojump` alias:
|
||||
|
||||
`jc {{ifconfig}}`
|
||||
|
||||
- Output pretty JSON via pipe:
|
||||
|
||||
`{{ifconfig}} | jc {{--ifconfig}} {{[-p|--pretty]}}`
|
||||
|
||||
- Output pretty JSON via magic syntax:
|
||||
|
||||
`jc {{[-p|--pretty]}} {{ifconfig}}`
|
||||
`tldr autojump`
|
||||
|
|
7
pages/common/jco.md
Normal file
7
pages/common/jco.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# jco
|
||||
|
||||
> This command is an alias of `autojump`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr autojump`
|
7
pages/common/jo.md
Normal file
7
pages/common/jo.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# jo
|
||||
|
||||
> This command is an alias of `autojump`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr autojump`
|
Loading…
Add table
Reference in a new issue