1
0
mirror of https://github.com/wting/autojump synced 2024-09-28 22:10:45 +00:00
wting_autojump/README.md

176 lines
4.5 KiB
Markdown
Raw Normal View History

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
2014-01-07 18:32:35 +00:00
command line.
2014-01-07 18:32:35 +00:00
*Directories must be visited first before they can be jumped to.*
2014-01-07 18:32:35 +00:00
USAGE
-----
2014-01-07 18:32:35 +00:00
`j` is a convenience wrapper function around `autojump`. Any option that
can be used with `autojump` can be used with `j` and vice versa.
2014-01-07 18:32:35 +00:00
- Jump To A Directory That Contains `foo`:
2014-01-07 18:32:35 +00:00
j foo
2014-06-24 11:13:58 +00:00
- Jump To A Child Directory:
2014-01-07 18:32:35 +00:00
Sometimes it'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 name.
2014-01-07 18:32:35 +00:00
jc bar
2013-05-15 00:14:03 +00:00
2014-01-07 18:32:35 +00:00
- Open File Manager To Directories (instead of jumping):
2014-01-07 18:32:35 +00:00
Instead of jumping to a directory, you can open a file explorer
window (Mac Finder, Windows Explorer, GNOME Nautilus, etc.) to the
directory instead.
2014-01-07 18:32:35 +00:00
jo music
Opening a file manager to a child directory is also supported:
2014-01-07 18:32:35 +00:00
jco images
2013-02-01 20:45:47 +00:00
2014-01-07 18:32:35 +00:00
- Using Multiple Arguments:
2013-02-01 20:45:47 +00:00
Let's assume the following database:
30 /home/user/mail/inbox
10 /home/user/work/inbox
2016-09-30 17:21:58 +00:00
`j in` 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, `j w in` would
then change directory to /home/user/work/inbox.
2013-02-01 20:45:47 +00:00
For more options refer to help:
2014-01-07 18:32:35 +00:00
autojump --help
2013-02-01 20:45:47 +00:00
2014-01-07 18:32:35 +00:00
INSTALLATION
------------
2013-02-01 20:45:47 +00:00
2014-01-07 18:32:35 +00:00
### REQUIREMENTS
2013-02-01 20:45:47 +00:00
- Python v2.6+ or Python v3.3+
- Supported shells
- bash - first class support
- zsh - first class support
- fish - community supported
- tcsh - community supported
- clink - community supported
- Supported platforms
- Linux - first class support
- OS X - first class support
- Windows - community supported
- BSD - community supported
- Supported installation methods
- source code - first class support
- Debian and derivatives - first class support
- ArchLinux / Gentoo / openSUSE / RedHat and derivatives -
community supported
- Homebrew / MacPorts - community supported
Due to limited time and resources, only "first class support" items will
be maintained by the primary committers. All "community supported" items
will be updated based on pull requests submitted by the general public.
Please continue opening issues and providing feedback for community
supported items since consolidating information helps other users
troubleshoot and submit enhancements and fixes.
### MANUAL
Grab a copy of autojump:
git clone git://github.com/wting/autojump.git
Run the installation script and follow on screen instructions.
cd autojump
./install.py or ./uninstall.py
2014-01-07 18:32:35 +00:00
### AUTOMATIC
2014-01-07 18:32:35 +00:00
#### Linux
2014-01-07 18:32:35 +00:00
autojump is included in the following distro repositories, please use
relevant package management utilities to install (e.g. apt-get, yum,
pacman, etc):
2018-09-07 04:25:20 +00:00
- Debian, Ubuntu, Linux Mint
2013-02-17 16:49:31 +00:00
2014-01-07 18:32:35 +00:00
All Debian-derived distros require manual activation for policy
reasons, please see `/usr/share/doc/autojump/README.Debian`.
2013-02-17 16:49:31 +00:00
- RedHat, Fedora, CentOS
Install `autojump-zsh` for zsh, `autojump-fish` for fish, etc.
2014-01-07 18:32:35 +00:00
- ArchLinux
- Gentoo
- Frugalware
- Slackware
2013-05-15 00:14:03 +00:00
2014-01-07 18:32:35 +00:00
#### OS X
2014-01-07 18:32:35 +00:00
Homebrew is the recommended installation method for Mac OS X:
2014-01-07 18:32:35 +00:00
brew install autojump
MacPorts is also available:
2014-01-07 18:32:35 +00:00
port install autojump
2014-01-15 21:16:41 +00:00
Windows
-------
Windows support is enabled by [clink](https://mridgers.github.io/clink/)
2014-01-15 21:16:41 +00:00
which should be installed prior to installing autojump.
KNOWN ISSUES
------------
2014-01-07 18:32:35 +00:00
- autojump does not support directories that begin with `-`.
- For bash users, autojump keeps track of directories by modifying
`$PROMPT_COMMAND`. Do not overwrite `$PROMPT_COMMAND`:
export PROMPT_COMMAND="history -a"
2016-09-30 17:21:58 +00:00
Instead append to the end of the existing \$PROMPT\_COMMAND:
export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND ;} history -a"
REPORTING BUGS
--------------
2014-01-07 18:32:35 +00:00
For any questions or issues please visit:
https://github.com/wting/autojump/issues
AUTHORS
-------
autojump was originally written by Joël Schaerer, and currently
2014-01-07 18:32:35 +00:00
maintained by William Ting. More contributors can be found in `AUTHORS`.
COPYRIGHT
---------
2016-05-04 06:44:43 +00:00
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.