You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.9 KiB

15 years ago
15 years ago
15 years ago
15 years ago
15 years ago
15 years ago
15 years ago
15 years ago
15 years ago
  1. .\" A sample man page.
  2. .\" Contact admin@yourcompany.com to correct errors or omissions.
  3. .TH autojump 1 "10 February 2009" "1.0" "A faster way to navigate your filesystem"
  4. .SH NAME
  5. autojump \- a faster way to navigate your filesystem
  6. .SH SYNOPSIS
  7. .\" Syntax goes here.
  8. .B j
  9. dirspec
  10. .P
  11. .B jumpstat
  12. .SH DESCRIPTION
  13. One of the most used shell commands is "cd". A quick survey among my friends revealed that between 10 and 20% of all commands they type are actually cd commands! Unfortunately, jumping from one part of your system to another with cd requires to enter almost the full path, which isn't very practical and requires a lot of keystrokes.
  14. .P
  15. .B autojump
  16. 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
  17. .B jumpstat
  18. command shows you the current contents of the database. You need to work a little bit before the database becomes useable. Once your database is reasonably complete, you can "jump" to a directory by typing:
  19. .P
  20. .B j
  21. dirspec
  22. .P
  23. where dirspec is a few characters of the directory you want to jump to. It will jump to the most used directory whose name matches the pattern given in dirspec.
  24. .P
  25. Autojump supports autocompletion. Try it!
  26. .SH EXAMPLES
  27. .B j
  28. mp3
  29. .P
  30. could jump to "/home/gwb/my\ mp3\ collection", if that is the directory in which you keep your mp3s.
  31. .P
  32. .B jumpstat
  33. .P
  34. will print out something in the lines of:
  35. .P
  36. 54.5: /home/shared/musique
  37. .P
  38. 60.0: /home/joel/workspace/coolstuff/glandu
  39. .P
  40. 83.0: /home/joel/workspace/abs_user/autojump
  41. .P
  42. 97.9: /home/joel/workspace/autojump
  43. .P
  44. 141.8: /home/joel/workspace/vv
  45. .P
  46. 161.7: /home/joel
  47. .P
  48. Total key weight: 1079
  49. .P
  50. The "key weight" reflects the amount of time you spend in a directory.
  51. .SH BUGS
  52. No known bugs at this time.
  53. .SH AUTHOR
  54. .nf
  55. Joel Schaerer (joel.schaerer@laposte.net)
  56. .fi
  57. .SH HISTORY
  58. 2009 \- First version.
  59. .SH LICENSE
  60. .B autojump
  61. is distributed under the terms of the GPL, version 3.