2016-09-30 17:21:58 +00:00
|
|
|
.\" Automatically generated by Pandoc 1.16.0.2
|
|
|
|
.\"
|
2018-09-09 16:55:27 +00:00
|
|
|
.TH "autojump" "1" "2018\-09\-09" "release\-v22.5.3" ""
|
2016-09-30 17:21:58 +00:00
|
|
|
.hy
|
2012-04-07 16:57:16 +00:00
|
|
|
.SS NAME
|
|
|
|
.PP
|
2016-09-30 17:21:58 +00:00
|
|
|
autojump \- a faster way to navigate your filesystem
|
2012-04-07 16:57:16 +00:00
|
|
|
.SS DESCRIPTION
|
|
|
|
.PP
|
|
|
|
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.
|
|
|
|
.PP
|
2014-01-07 18:32:35 +00:00
|
|
|
\f[I]Directories must be visited first before they can be jumped to.\f[]
|
|
|
|
.SS USAGE
|
|
|
|
.PP
|
|
|
|
\f[C]j\f[] is a convenience wrapper function around \f[C]autojump\f[].
|
|
|
|
Any option that can be used with \f[C]autojump\f[] can be used with
|
|
|
|
\f[C]j\f[] and vice versa.
|
2013-02-01 20:45:47 +00:00
|
|
|
.IP \[bu] 2
|
2014-01-07 18:32:35 +00:00
|
|
|
Jump To A Directory That Contains \f[C]foo\f[]:
|
2013-02-01 20:45:47 +00:00
|
|
|
.RS 2
|
2012-04-07 16:57:16 +00:00
|
|
|
.IP
|
|
|
|
.nf
|
|
|
|
\f[C]
|
2014-01-07 18:32:35 +00:00
|
|
|
j\ foo
|
2013-02-01 20:45:47 +00:00
|
|
|
\f[]
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
.IP \[bu] 2
|
2014-06-29 00:26:02 +00:00
|
|
|
Jump To A Child Directory:
|
2013-02-01 20:45:47 +00:00
|
|
|
.RS 2
|
|
|
|
.PP
|
|
|
|
Sometimes it\[aq]s convenient to jump to a child directory
|
2016-09-30 17:21:58 +00:00
|
|
|
(sub\-directory of current directory) rather than typing out the full
|
2013-02-01 20:45:47 +00:00
|
|
|
name.
|
|
|
|
.IP
|
|
|
|
.nf
|
|
|
|
\f[C]
|
2014-01-07 18:32:35 +00:00
|
|
|
jc\ bar
|
2013-02-01 20:45:47 +00:00
|
|
|
\f[]
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
.IP \[bu] 2
|
2014-01-07 18:32:35 +00:00
|
|
|
Open File Manager To Directories (instead of jumping):
|
2013-02-01 20:45:47 +00:00
|
|
|
.RS 2
|
|
|
|
.PP
|
|
|
|
Instead of jumping to a directory, you can open a file explorer window
|
2016-09-30 17:21:58 +00:00
|
|
|
(Mac Finder, Windows Explorer, GNOME Nautilus, etc.) to the directory
|
|
|
|
instead.
|
2013-02-01 20:45:47 +00:00
|
|
|
.IP
|
|
|
|
.nf
|
|
|
|
\f[C]
|
|
|
|
jo\ music
|
2012-04-07 16:57:16 +00:00
|
|
|
\f[]
|
|
|
|
.fi
|
2013-02-01 20:45:47 +00:00
|
|
|
.PP
|
2014-06-29 00:26:02 +00:00
|
|
|
Opening a file manager to a child directory is also supported:
|
2013-02-01 20:45:47 +00:00
|
|
|
.IP
|
|
|
|
.nf
|
|
|
|
\f[C]
|
|
|
|
jco\ images
|
|
|
|
\f[]
|
|
|
|
.fi
|
|
|
|
.RE
|
2012-04-08 15:52:47 +00:00
|
|
|
.IP \[bu] 2
|
2014-01-07 18:32:35 +00:00
|
|
|
Using Multiple Arguments:
|
2012-07-03 03:34:21 +00:00
|
|
|
.RS 2
|
|
|
|
.PP
|
2014-01-07 18:32:35 +00:00
|
|
|
Let\[aq]s assume the following database:
|
2013-02-17 16:49:31 +00:00
|
|
|
.IP
|
|
|
|
.nf
|
|
|
|
\f[C]
|
2014-01-07 18:32:35 +00:00
|
|
|
30\ \ \ /home/user/mail/inbox
|
|
|
|
10\ \ \ /home/user/work/inbox
|
2013-02-17 16:49:31 +00:00
|
|
|
\f[]
|
|
|
|
.fi
|
2013-05-15 00:14:03 +00:00
|
|
|
.PP
|
2014-01-07 18:32:35 +00:00
|
|
|
\f[C]j\ in\f[] would jump into /home/user/mail/inbox as the higher
|
|
|
|
weighted entry.
|
|
|
|
However you can pass multiple arguments to autojump to prefer a
|
|
|
|
different entry.
|
|
|
|
In the above example, \f[C]j\ w\ in\f[] would then change directory to
|
|
|
|
/home/user/work/inbox.
|
2012-07-03 03:34:21 +00:00
|
|
|
.RE
|
2012-05-07 04:30:22 +00:00
|
|
|
.PP
|
2014-01-07 18:32:35 +00:00
|
|
|
For more options refer to help:
|
2012-05-07 04:30:22 +00:00
|
|
|
.IP
|
|
|
|
.nf
|
|
|
|
\f[C]
|
2016-09-30 17:21:58 +00:00
|
|
|
autojump\ \-\-help
|
2012-05-07 04:30:22 +00:00
|
|
|
\f[]
|
|
|
|
.fi
|
2014-01-07 18:32:35 +00:00
|
|
|
.SS KNOWN ISSUES
|
2012-05-07 04:30:22 +00:00
|
|
|
.IP \[bu] 2
|
2016-09-30 17:21:58 +00:00
|
|
|
autojump does not support directories that begin with \f[C]\-\f[].
|
2012-11-23 14:30:15 +00:00
|
|
|
.IP \[bu] 2
|
2014-01-07 18:32:35 +00:00
|
|
|
For bash users, autojump keeps track of directories by modifying
|
|
|
|
\f[C]$PROMPT_COMMAND\f[].
|
|
|
|
Do not overwrite \f[C]$PROMPT_COMMAND\f[]:
|
2012-11-23 14:30:15 +00:00
|
|
|
.RS 2
|
|
|
|
.IP
|
|
|
|
.nf
|
|
|
|
\f[C]
|
2016-09-30 17:21:58 +00:00
|
|
|
export\ PROMPT_COMMAND="history\ \-a"
|
2012-11-23 14:30:15 +00:00
|
|
|
\f[]
|
|
|
|
.fi
|
|
|
|
.PP
|
2014-01-07 18:32:35 +00:00
|
|
|
Instead append to the end of the existing $PROMPT_COMMAND:
|
2012-10-19 11:37:19 +00:00
|
|
|
.IP
|
|
|
|
.nf
|
|
|
|
\f[C]
|
2016-09-30 17:21:58 +00:00
|
|
|
export\ PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND\ ;}\ history\ \-a"
|
2012-10-19 11:37:19 +00:00
|
|
|
\f[]
|
|
|
|
.fi
|
2014-01-07 18:32:35 +00:00
|
|
|
.RE
|
|
|
|
.SS REPORTING BUGS
|
2012-10-19 11:37:19 +00:00
|
|
|
.PP
|
2014-01-07 18:32:35 +00:00
|
|
|
For any questions or issues please visit:
|
2012-11-22 22:44:05 +00:00
|
|
|
.IP
|
|
|
|
.nf
|
|
|
|
\f[C]
|
2018-09-07 05:53:18 +00:00
|
|
|
https://github.com/wting/autojump/issues
|
2012-11-22 22:44:05 +00:00
|
|
|
\f[]
|
|
|
|
.fi
|
2012-04-07 16:57:16 +00:00
|
|
|
.SS AUTHORS
|
|
|
|
.PP
|
|
|
|
autojump was originally written by Joël Schaerer, and currently
|
|
|
|
maintained by William Ting.
|
2014-01-07 18:32:35 +00:00
|
|
|
More contributors can be found in \f[C]AUTHORS\f[].
|
2012-04-07 16:57:16 +00:00
|
|
|
.SS COPYRIGHT
|
|
|
|
.PP
|
2016-05-04 06:44:43 +00:00
|
|
|
Copyright © 2016 Free Software Foundation, Inc.
|
2012-04-07 16:57:16 +00:00
|
|
|
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.
|