diff --git a/pages/common/autojump.md b/pages/common/autojump.md index 5d7691c7d2..415108e640 100644 --- a/pages/common/autojump.md +++ b/pages/common/autojump.md @@ -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: . +- 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}}` diff --git a/pages/common/bashmarks.md b/pages/common/bashmarks.md index 1817007808..f6450a6758 100644 --- a/pages/common/bashmarks.md +++ b/pages/common/bashmarks.md @@ -1,6 +1,7 @@ # bashmarks > Save and jump to commonly used directories using 1 character commands. +> See also: `autojump`. > More information: . - Add the bashmark aliases to your shell: diff --git a/pages/common/j.md b/pages/common/j.md new file mode 100644 index 0000000000..bf7eba1bb1 --- /dev/null +++ b/pages/common/j.md @@ -0,0 +1,7 @@ +# j + +> This command is an alias of `autojump`. + +- View documentation for the original command: + +`tldr autojump` diff --git a/pages/common/jc.json.md b/pages/common/jc.json.md new file mode 100644 index 0000000000..92c9aca58e --- /dev/null +++ b/pages/common/jc.json.md @@ -0,0 +1,20 @@ +# jc + +> Convert the output of multiple commands to JSON. +> More information: . + +- 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}}` diff --git a/pages/common/jc.md b/pages/common/jc.md index 92c9aca58e..11f186c7ec 100644 --- a/pages/common/jc.md +++ b/pages/common/jc.md @@ -1,20 +1,11 @@ # jc -> Convert the output of multiple commands to JSON. -> More information: . +> `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` diff --git a/pages/common/jco.md b/pages/common/jco.md new file mode 100644 index 0000000000..cd9579d3fd --- /dev/null +++ b/pages/common/jco.md @@ -0,0 +1,7 @@ +# jco + +> This command is an alias of `autojump`. + +- View documentation for the original command: + +`tldr autojump` diff --git a/pages/common/jo.md b/pages/common/jo.md new file mode 100644 index 0000000000..b101e477ce --- /dev/null +++ b/pages/common/jo.md @@ -0,0 +1,7 @@ +# jo + +> This command is an alias of `autojump`. + +- View documentation for the original command: + +`tldr autojump`