2012-04-11 00:43:02 +00:00
|
|
|
.TH autojump 1 "10 April 2012" "release-v20"
|
2012-04-07 16:57:16 +00:00
|
|
|
.SS NAME
|
|
|
|
.PP
|
|
|
|
autojump - a faster way to navigate your filesystem
|
|
|
|
.SS SYNOPSIS
|
|
|
|
.PP
|
|
|
|
Jump to a previously visited directory \[aq]foobar\[aq]:
|
|
|
|
.IP
|
2009-02-10 17:29:57 +00:00
|
|
|
.nf
|
2012-04-07 16:57:16 +00:00
|
|
|
\f[C]
|
|
|
|
j\ foo
|
|
|
|
\f[]
|
2009-02-10 17:29:57 +00:00
|
|
|
.fi
|
2012-04-07 16:57:16 +00:00
|
|
|
.PP
|
|
|
|
Show all database entries and their respective key weights:
|
|
|
|
.IP
|
|
|
|
.nf
|
|
|
|
\f[C]
|
|
|
|
jumpstat
|
|
|
|
\f[]
|
|
|
|
.fi
|
|
|
|
.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.
|
|
|
|
The jumpstat command shows you the current contents of the database.
|
|
|
|
Directories must be visited first before they can be jumped to.
|
|
|
|
.SS OPTIONS
|
|
|
|
.PP
|
2012-04-08 15:52:47 +00:00
|
|
|
Options must be passed to \[aq]autojump\[aq] and not the \[aq]j\[aq]
|
|
|
|
wrapper function.
|
2012-04-07 16:57:16 +00:00
|
|
|
.IP
|
|
|
|
.nf
|
|
|
|
\f[C]
|
|
|
|
-a,\ --add\ DIR\ \ \ \ \ \ \ manually\ add\ path\ to\ database
|
2009-05-13 09:32:19 +00:00
|
|
|
|
2012-04-07 16:57:16 +00:00
|
|
|
--stat\ \ \ \ \ \ \ \ \ \ \ \ \ \ show\ database\ entries\ and\ their\ key\ weights
|
2009-05-13 09:32:19 +00:00
|
|
|
|
2012-04-07 16:57:16 +00:00
|
|
|
--version\ \ \ \ \ \ \ \ \ \ \ show\ version\ information\ and\ exit
|
|
|
|
\f[]
|
|
|
|
.fi
|
|
|
|
.SS INTERNAL OPTIONS
|
|
|
|
.IP
|
|
|
|
.nf
|
|
|
|
\f[C]
|
2012-04-08 15:52:47 +00:00
|
|
|
-b,\ --bash\ \ \ \ \ \ \ \ \ \ enclose\ directory\ with\ quotes\ to\ prevent\ errors
|
2009-05-13 09:32:19 +00:00
|
|
|
|
2012-05-07 01:17:33 +00:00
|
|
|
--complete\ \ \ \ \ \ \ \ \ \ used\ for\ tab\ completion
|
2012-04-07 16:57:16 +00:00
|
|
|
\f[]
|
|
|
|
.fi
|
2012-05-07 04:40:19 +00:00
|
|
|
.SS ADDITIONAL CONFIGURATION
|
2012-04-08 15:52:47 +00:00
|
|
|
.IP \[bu] 2
|
2012-05-07 04:30:22 +00:00
|
|
|
Always Ignore Case
|
|
|
|
.RS 2
|
|
|
|
.PP
|
|
|
|
Default behavior is to prioritize exact matches over all else.
|
|
|
|
For example, \f[C]j\ foo\f[] will prefer /foobar over /FooBar even if
|
|
|
|
the latter has a higher weight.
|
|
|
|
To change this behavior and ignore case, add the following environmental
|
|
|
|
variable in your ~/.bashrc:
|
|
|
|
.IP
|
|
|
|
.nf
|
|
|
|
\f[C]
|
|
|
|
export\ AUTOJUMP_IGNORE_CASE=1
|
|
|
|
\f[]
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
.IP \[bu] 2
|
2012-05-07 04:40:19 +00:00
|
|
|
Prevent Database Entries\[aq] Decay
|
|
|
|
.RS 2
|
|
|
|
.PP
|
|
|
|
Default behavior is to decay unused database entries slowly over time.
|
|
|
|
Eventually when database limits are hit and maintenance is run, autojump
|
|
|
|
will purge older less used entries.
|
|
|
|
To prevent decay, add the following variable in your ~/.bashrc:
|
|
|
|
.IP
|
|
|
|
.nf
|
|
|
|
\f[C]
|
|
|
|
export\ AUTOJUMP_KEEP_ALL_ENTRIES=1
|
|
|
|
\f[]
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
.IP \[bu] 2
|
2012-04-08 15:52:47 +00:00
|
|
|
Prefer Symbolic Links
|
|
|
|
.RS 2
|
|
|
|
.PP
|
|
|
|
Default behavior is to evaluate symbolic links into full paths as to
|
|
|
|
reduce duplicate entries in the database.
|
|
|
|
However, some users prefer a shorter working directory path in their
|
|
|
|
shell prompt.
|
2012-05-07 04:30:22 +00:00
|
|
|
To switch behavior to prefer symbolic links, add the following
|
|
|
|
environmental variable in your ~/.bashrc:
|
2012-04-08 15:52:47 +00:00
|
|
|
.IP
|
|
|
|
.nf
|
|
|
|
\f[C]
|
|
|
|
export\ AUTOJUMP_KEEP_SYMLINKS=1
|
|
|
|
\f[]
|
|
|
|
.fi
|
|
|
|
.RE
|
2012-05-07 04:40:19 +00:00
|
|
|
.SS ADVANCED USAGE
|
2012-04-08 15:52:47 +00:00
|
|
|
.IP \[bu] 2
|
|
|
|
Change Directory Weight
|
|
|
|
.RS 2
|
|
|
|
.PP
|
|
|
|
To manually change a directory\[aq]s key weight, you can edit the file
|
|
|
|
\f[I]$XDG_DATA_HOME/autojump/autojump.txt\f[].
|
|
|
|
Each entry has two columns.
|
|
|
|
The first is the key weight and the second is the path:
|
|
|
|
.IP
|
|
|
|
.nf
|
|
|
|
\f[C]
|
|
|
|
29.3383211216\ \ \ /home/user/downloads
|
|
|
|
\f[]
|
|
|
|
.fi
|
2012-04-07 16:57:16 +00:00
|
|
|
.PP
|
2012-04-08 15:52:47 +00:00
|
|
|
All negative key weights are purged automatically.
|
|
|
|
.RE
|
2012-04-12 06:37:02 +00:00
|
|
|
.SS KNOWN ISSUES
|
|
|
|
.IP \[bu] 2
|
|
|
|
zsh (bug #86)
|
|
|
|
.RS 2
|
|
|
|
.PP
|
|
|
|
Tab completion does not work.
|
|
|
|
.RE
|
|
|
|
.IP \[bu] 2
|
|
|
|
jumpapplet (bug #59)
|
|
|
|
.RS 2
|
|
|
|
.PP
|
|
|
|
Does not work in Gnome 3 shell or LDXE.
|
|
|
|
.RE
|
2012-04-07 16:57:16 +00:00
|
|
|
.SS FILES
|
|
|
|
.PP
|
2012-04-08 15:52:47 +00:00
|
|
|
If installed locally, autojump is self-contained in
|
|
|
|
\f[I]~/.autojump/\f[].
|
2012-04-07 16:57:16 +00:00
|
|
|
.PP
|
2012-04-08 15:52:47 +00:00
|
|
|
The database is stored in \f[I]$XDG_DATA_HOME/autojump/autojump.txt\f[].
|
2012-04-07 16:57:16 +00:00
|
|
|
.SS REPORTING BUGS
|
|
|
|
.PP
|
|
|
|
For any issues please visit the following URL:
|
|
|
|
.PP
|
2012-04-08 15:52:47 +00:00
|
|
|
\f[I]https://github.com/joelthelion/autojump/issues\f[]
|
2012-04-07 16:57:16 +00:00
|
|
|
.SS THANKS
|
|
|
|
.PP
|
|
|
|
Special thanks goes out to: Pierre Gueth, Simon Marache-Francisco,
|
|
|
|
Daniel Jackoway, and many others.
|
|
|
|
.SS AUTHORS
|
|
|
|
.PP
|
|
|
|
autojump was originally written by Joël Schaerer, and currently
|
|
|
|
maintained by William Ting.
|
|
|
|
.SS COPYRIGHT
|
|
|
|
.PP
|
|
|
|
Copyright © 2012 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.
|