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.
|
2025-05-03 21:22:13 +02:00
|
|
|
> Aliases like `j` or `jc` are provided for even less typing.
|
2025-04-26 19:03:50 +03:00
|
|
|
> See also: `bashmarks`.
|
2019-06-03 02:06:36 +02:00
|
|
|
> More information: <https://github.com/wting/autojump>.
|
2016-01-07 21:43:05 -08:00
|
|
|
|
2025-05-03 21:22:13 +02:00
|
|
|
- Add the `autojump` aliases to your shell:
|
2025-04-26 19:03:50 +03:00
|
|
|
|
|
|
|
`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}}`
|
|
|
|
|
2018-09-04 07:52:59 -07:00
|
|
|
- Open a directory that contains the given pattern in the operating system file manager:
|
|
|
|
|
|
|
|
`jo {{pattern}}`
|
|
|
|
|
2025-05-03 21:22:13 +02:00
|
|
|
- Remove non-existing directories from the `autojump` database:
|
2016-01-07 21:43:05 -08:00
|
|
|
|
|
|
|
`j --purge`
|
|
|
|
|
2025-05-03 21:22:13 +02:00
|
|
|
- Show the entries in the `autojump` database:
|
2016-01-07 21:43:05 -08:00
|
|
|
|
2025-04-25 05:54:18 +03:00
|
|
|
`j {{[-s|--stat]}}`
|