Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

175 righe
4.5 KiB

11 anni fa
11 anni fa
11 anni fa
11 anni fa
11 anni fa
11 anni fa
  1. NAME
  2. ----
  3. autojump - a faster way to navigate your filesystem
  4. DESCRIPTION
  5. -----------
  6. autojump is a faster way to navigate your filesystem. It works by
  7. maintaining a database of the directories you use the most from the
  8. command line.
  9. *Directories must be visited first before they can be jumped to.*
  10. USAGE
  11. -----
  12. `j` is a convenience wrapper function around `autojump`. Any option that
  13. can be used with `autojump` can be used with `j` and vice versa.
  14. - Jump To A Directory That Contains `foo`:
  15. j foo
  16. - Jump To A Child Directory:
  17. Sometimes it's convenient to jump to a child directory
  18. (sub-directory of current directory) rather than typing out the
  19. full name.
  20. jc bar
  21. - Open File Manager To Directories (instead of jumping):
  22. Instead of jumping to a directory, you can open a file explorer
  23. window (Mac Finder, Windows Explorer, GNOME Nautilus, etc.) to the
  24. directory instead.
  25. jo music
  26. Opening a file manager to a child directory is also supported:
  27. jco images
  28. - Using Multiple Arguments:
  29. Let's assume the following database:
  30. 30 /home/user/mail/inbox
  31. 10 /home/user/work/inbox
  32. `j in` would jump into /home/user/mail/inbox as the higher
  33. weighted entry. However you can pass multiple arguments to autojump
  34. to prefer a different entry. In the above example, `j w in` would
  35. then change directory to /home/user/work/inbox.
  36. For more options refer to help:
  37. autojump --help
  38. INSTALLATION
  39. ------------
  40. ### REQUIREMENTS
  41. - Python v2.6+ or Python v3.3+
  42. - Supported shells
  43. - bash - first class support
  44. - zsh - first class support
  45. - fish - community supported
  46. - tcsh - community supported
  47. - clink - community supported
  48. - Supported platforms
  49. - Linux - first class support
  50. - OS X - first class support
  51. - Windows - community supported
  52. - BSD - community supported
  53. - Supported installation methods
  54. - source code - first class support
  55. - Debian and derivatives - first class support
  56. - ArchLinux / Gentoo / openSUSE / RedHat and derivatives -
  57. community supported
  58. - Homebrew / MacPorts - community supported
  59. Due to limited time and resources, only "first class support" items will
  60. be maintained by the primary committers. All "community supported" items
  61. will be updated based on pull requests submitted by the general public.
  62. Please continue opening issues and providing feedback for community
  63. supported items since consolidating information helps other users
  64. troubleshoot and submit enhancements and fixes.
  65. ### MANUAL
  66. Grab a copy of autojump:
  67. git clone git://github.com/wting/autojump.git
  68. Run the installation script and follow on screen instructions.
  69. cd autojump
  70. ./install.py or ./uninstall.py
  71. ### AUTOMATIC
  72. #### Linux
  73. autojump is included in the following distro repositories, please use
  74. relevant package management utilities to install (e.g. apt-get, yum,
  75. pacman, etc):
  76. - Debian, Ubuntu, Linux Mint
  77. All Debian-derived distros require manual activation for policy
  78. reasons, please see `/usr/share/doc/autojump/README.Debian`.
  79. - RedHat, Fedora, CentOS
  80. Install `autojump-zsh` for zsh, `autojump-fish` for fish, etc.
  81. - ArchLinux
  82. - Gentoo
  83. - Frugalware
  84. - Slackware
  85. #### OS X
  86. Homebrew is the recommended installation method for Mac OS X:
  87. brew install autojump
  88. MacPorts is also available:
  89. port install autojump
  90. Windows
  91. -------
  92. Windows support is enabled by [clink](https://mridgers.github.io/clink/)
  93. which should be installed prior to installing autojump.
  94. KNOWN ISSUES
  95. ------------
  96. - autojump does not support directories that begin with `-`.
  97. - For bash users, autojump keeps track of directories by modifying
  98. `$PROMPT_COMMAND`. Do not overwrite `$PROMPT_COMMAND`:
  99. export PROMPT_COMMAND="history -a"
  100. Instead append to the end of the existing \$PROMPT\_COMMAND:
  101. export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND ;} history -a"
  102. REPORTING BUGS
  103. --------------
  104. For any questions or issues please visit:
  105. https://github.com/wting/autojump/issues
  106. AUTHORS
  107. -------
  108. autojump was originally written by Joël Schaerer, and currently
  109. maintained by William Ting. More contributors can be found in `AUTHORS`.
  110. COPYRIGHT
  111. ---------
  112. Copyright © 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL
  113. version 3 or later <http://gnu.org/licenses/gpl.html>. This is free
  114. software: you are free to change and redistribute it. There is NO
  115. WARRANTY, to the extent permitted by law.