1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-10 05:25:24 +02:00
tldr/pages/common/autojump.md

30 lines
754 B
Markdown

# autojump
> 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}}`
- Jump to a sub-directory (child) of the current directory that contains the given pattern:
`jc {{pattern}}`
- Open a directory that contains the given pattern in the operating system file manager:
`jo {{pattern}}`
- Remove non-existing directories from the `autojump` database:
`j --purge`
- Show the entries in the `autojump` database:
`j {{[-s|--stat]}}`