1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00
Commit Graph

742 Commits

Author SHA1 Message Date
Liyan Chang
2ed86b3a5e More intelligently modify users .bashrc and .bash_profile
install.sh:
1. for those who have a /etc/profile.d
   then grep .bashrc for the sourcing of the autocomplete code
2. for those who use OSX
   grep .bash_profile to make sure .bashrc is sourced.
2010-07-11 16:39:41 -04:00
Joel Schaerer
ea3cd60653 make the completion separator configurable 2010-07-07 23:55:32 +02:00
Joel Schaerer
8e1ab9ca54 fix completions for zsh 2010-07-07 23:51:42 +02:00
elcerdo
9f7835c738 typo in documentation 2010-06-22 17:55:32 +08:00
Tom MacWright
be7e2d8e1b Making the zsh script in line with sh 2010-06-22 17:55:19 +08:00
Joël Schaerer
3b68cd989c add a prefix option to the bash installer 2010-06-07 11:10:22 +02:00
Joel Schaerer
d0b7758130 fix completion for zsh (thanks simon!) 2010-04-27 14:16:08 +02:00
Joël Schaerer
3fa72536e9 completion now works with multiple patterns!!! 2010-04-27 10:08:07 +02:00
elcerdo
3936e28650 bugfix: pattern was not defined 2010-04-26 18:52:18 +02:00
Joel Schaerer
0e7ef2e721 multiple patterns (thanks amix!) 2010-04-26 01:00:57 +02:00
Joel Schaerer
35836ada8f bugfix 2010-04-26 00:20:55 +02:00
Joel Schaerer
3b5b52d610 disable regexes
Rationale: regexes in the dirspec break autojump for weird directory
names like "c++". In more than one year of use, I've never even been
tempted to use a regexp with autojump. So I think it is safe to remove
this feature. If enough users shout, I will revert this change.
2010-04-25 23:55:18 +02:00
Joel Schaerer
f59aab321c git ignore 2010-04-25 23:38:43 +02:00
Joel Schaerer
90bdb73a40 minor fixes 2010-04-25 23:38:15 +02:00
Joel Schaerer
accf8f1108 added shebang 2010-03-30 08:32:14 +02:00
Kiril Piskunov
abb936e33e added -e flag to echo in install.sh
in order for newline characters to be parsed correctly
2010-03-29 14:27:50 -07:00
Cloudera Training
411946deb7 install script modified in order for autojump to work on OS X out of the box 2010-03-28 14:50:16 -07:00
Cloudera Training
1fc107ad38 install script modified in order for autojump to install correctly OS X 2010-03-28 14:46:18 -07:00
Joël Schaerer
c533b2b4fd weird corner cases 2010-01-26 16:47:13 +01:00
Joël Schaerer
c928c78aaa really silent this time in case of write error in user directory
rationale: if a user's directory isn't writeable, then autojump is
probably his last concern :)
2010-01-20 17:47:52 +01:00
Sudish Joseph
eddceb7e8f Make new_path a local.
Leaking vars into the user's zsh env is not good, esp. when the var
refs a directory -- zsh may then interpret it as a named directory
ref and use it in prompts, for e.g.
2010-01-19 00:07:05 +08:00
Sudish Joseph
99d72918c8 Let zsh autocreate ~/.autojump_errors as needed. 2010-01-19 00:06:55 +08:00
Joël Schaerer
f6d26b5833 less verbose error handling 2010-01-12 11:43:37 +01:00
joelthelion
790b52d31e improve readme. Thanks schickm! 2009-10-11 04:23:58 -07:00
Joel Schaerer
2d4e3c8a6c Automatically recover from db corruption. Thanks epall!!! 2009-10-03 20:36:18 +02:00
Joel Schaerer
0ec15907e3 fixes for zsh. Thanks simon!!! 2009-10-03 20:25:16 +02:00
Joel Schaerer
92ef70ffce fix for completion and directories with spaces.
Autojump is really starting to mature :)
2009-09-16 21:45:09 +02:00
Joël Schaerer
eb0f287eb9 use the backup file in case of problems 2009-09-16 16:06:20 +02:00
Joël Schaerer
99d82be473 add backup file 2009-09-16 15:48:58 +02:00
Joel Schaerer
3c5f181a4b let's try once again 2009-07-15 23:34:29 +02:00
Joel Schaerer
6ee477291f tentative fix for the dumb github engine 2009-07-15 23:32:35 +02:00
Joel Schaerer
f2e1d24879 Merge branch 'master' of git@github.com:joelthelion/autojump 2009-07-15 19:49:58 +02:00
Joel Schaerer
7ab3ad2ba9 add uninstall procedure. Thank you "replica"! 2009-07-15 19:49:09 +02:00
joelthelion
6f55ec6894 mention bash4 in the documentation 2009-07-02 10:06:14 -07:00
Joel Schaerer
8b4e282a91 avoid saving the file everytime we jump 2009-05-30 10:29:43 +02:00
georges.wbushjr@laposte.net
4a34c3bfd2 Merge commit 'joel/master' 2009-05-14 21:46:14 +02:00
georges.wbushjr@laposte.net
be6427ceb8 nice gui ;) 2009-05-14 21:43:04 +02:00
Tom Parker
c85f33d12e jumpapplet: load_path breaks without an earlier config file
When starting jumpapplet without an earlier config file, it raises an UnboundLocalError

tparker@shostakovich:[~/data/src/autojump] ./jumpapplet
loading settings
no config file
Traceback (most recent call last):
  File "./jumpapplet", line 93, in popup
    paths=load_paths(maxpath=defaults["maxpath"])
  File "./jumpapplet", line 54, in load_paths
    path_dict=path_dict.items()
UnboundLocalError: local variable 'path_dict' referenced before assignment

This patch fixes that

Signed-off-by: Pierre Gueth <georges.wbushjr@laposte.net>

Signed-off-by: Joel Schaerer <joelthelion@laposte.net>
2009-05-14 15:50:16 +08:00
Tom Parker
337e16391c jumpapplet: load_path breaks without an earlier config file
When starting jumpapplet without an earlier config file, it raises an UnboundLocalError

tparker@shostakovich:[~/data/src/autojump] ./jumpapplet
loading settings
no config file
Traceback (most recent call last):
  File "./jumpapplet", line 93, in popup
    paths=load_paths(maxpath=defaults["maxpath"])
  File "./jumpapplet", line 54, in load_paths
    path_dict=path_dict.items()
UnboundLocalError: local variable 'path_dict' referenced before assignment

This patch fixes that

Signed-off-by: Pierre Gueth <georges.wbushjr@laposte.net>
2009-05-13 20:23:16 +08:00
Joel Schaerer dedibox
278ea9cc01 ok this time it should really work :-/ 2009-05-13 13:28:18 +02:00
Joël Schaerer
621ee1fc7f we should never fsync during completion 2009-05-13 11:53:50 +02:00
Joël Schaerer
6b6bbd4c8b really remove dead directories 2009-05-13 11:49:47 +02:00
Joël Schaerer
2963f1fcea license stuff 2009-05-13 11:32:19 +02:00
Tom Parker
1376b27390 install.zsh installs autojump.zsh not .bash!
Signed-off-by: Joel Schaerer <joelthelion@laposte.net>
2009-05-13 17:11:34 +08:00
Joel Schaerer
3208034466 save the dict in the event of non-existent directories. Thanks "robmaloy"! 2009-04-26 19:48:27 +02:00
Joël Schaerer
891ddae854 added special case for konsole 2009-04-17 15:31:26 +02:00
elcerdo
4f3d98bd3a Merge commit 'joel/master' 2009-04-17 14:44:35 +02:00
elcerdo
d15feb8338 added collapse and redesigned settings to be less cryptic 2009-04-17 14:43:17 +02:00
Jon Thonstad
5dad300c00 Stopped autojump.zsh from clobbering preexec.
Now uses preexec_functions to execute autojump's preexec.
This prevents clobbering of preexec in case its already set.

Signed-off-by: Joel Schaerer <joelthelion@laposte.net>
2009-04-17 19:31:33 +08:00
elcerdo
9641586cf7 Merge commit 'joel/master' 2009-04-16 23:18:05 +02:00