autojump(1)
π autojump β a faster way to navigate your filesystem
okay so this is the man page for autojump, and bestie, it's literally gonna change how you move around your filesystem. no cap.
β¨ NAME β¨
autojump β a faster way to navigate your filesystem
π¦ DESCRIPTION π¦
autojump is a faster way to navigate your filesystem. it works by maintaining a database of the directories you use the most from the command line. that's it. that's the whole magic. it's basically a little stalker for your folders (affectionate).
β οΈ real talk though: directories must be visited first before they can be jumped to. it can't jump somewhere it's never seen you go. so like, go there once, be seen, and then it's in the database. main character energy requires an entrance. π
π USAGE π
j is a convenience wrapper function around autojump. any option that can be used with autojump can be used with j and vice versa. they're basically twins. iconic.
- jump to a directory that contains foo:
j foo
- jump to a child directory:
sometimes it's convenient to jump to a child directory (sub-directory of current directory) rather than typing out the full name. lowkey the best hack fr.
jc bar
- open a file manager to directories (instead of jumping):
instead of jumping to a directory, you can open a file explorer window (Mac Finder, Windows Explorer, GNOME Nautilus, etc.) to the directory instead. same energy, different result.
jo music
opening a file manager to a child directory is also supported, and yes it slaps:
jco images
- using multiple arguments:
let's assume the following database:
30 /home/user/mail/inbox
10 /home/user/work/inbox
j in would jump into /home/user/mail/inbox as the higher weighted entry. make sense? number go big, folder get picked. β¨
however, you can pass multiple arguments to autojump to prefer a different entry. in the above example, j w in would then change directory to /home/user/work/inbox. see? the w matched the work path. the way that works ππ
for more options refer to help:
autojump --help
π KNOWN ISSUES π
autojumpdoes not support directories that begin with-. yeah. it just doesn't. don't fight it.- for bash users,
autojumpkeeps track of directories by modifying$PROMPT_COMMAND. do not overwrite$PROMPT_COMMAND:
export PROMPT_COMMAND="history -a"
instead, append to the end of the existing $PROMPT_COMMAND:
export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND ;} history -a"
π this one matters, bestie. if you clobber$PROMPT_COMMANDyou're basically ghostingautojumpand it will not be tracking your moves anymore.
π«Ά REPORTING BUGS π«Ά
for any questions or issues please visit:
https://github.com/wting/autojump/issues
come rant, come ask, come report the weird thing it did. we're here for it.
π AUTHORS π
autojump was originally written by JoΓ«l Schaerer, and currently maintained by William Ting. more contributors can be found in AUTHORS. legends, all of them. π
πΈ COPYRIGHT πΈ
Copyright Β© 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
this is free software: you are free to change and redistribute it. there is NO WARRANTY, to the extent permitted by law. and when they say no warranty they mean it like, capital-letters NO WARRANTY. the drama of it all.
and that's the whole page! π this was autojump(1), from release-v22.5.3, dated 2018-09-09 β go jump somewhere cute, you've earned it πβ¨
π¦ where this page comes from
- epel 9: autojump 22.5.3-8.el9 Β· GPLv3+
- nixos 26.05: autojump 22.5.3
- nixpkgs unstable: autojump 22.5.3
- opensuse-leap 16.0: autojump 22.5.3-bp160.1.11 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms