1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-02 08:15:23 +02:00
tldr/pages/common/autojump.md

31 lines
754 B
Markdown
Raw Normal View History

2016-01-07 21:43:05 -08:00
# autojump
2016-01-09 18:30:19 +00:00
> 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>.
2016-01-07 21:43:05 -08:00
- Add the `autojump` aliases to your shell:
`source /usr/share/autojump/autojump.{{bash|fish|zsh}}`
2016-01-13 12:04:46 +01:00
- Jump to a directory that contains the given pattern:
2016-01-07 21:43:05 -08:00
`j {{pattern}}`
2016-01-13 12:04:46 +01:00
- Jump to a sub-directory (child) of the current directory that contains the given pattern:
2016-01-07 21:43:05 -08:00
`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:
2016-01-07 21:43:05 -08:00
`j --purge`
- Show the entries in the `autojump` database:
2016-01-07 21:43:05 -08:00
`j {{[-s|--stat]}}`