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

108 Commits

Author SHA1 Message Date
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
elcerdo
511d410d3b added invert and maxpath to settings 2009-04-16 23:17:40 +02:00
Joel Schaerer
de2388b868 better installation instructions 2009-04-15 19:21:45 +02:00
elcerdo
a119a4f177 works in vc 2009-04-14 23:06:01 +02:00
Joël Schaerer
7c2148f198 updated documentation 2009-04-10 13:11:10 +02:00
Joël Schaerer
58e6b59ac0 fix permission problem (add sudo) 2009-04-10 13:02:51 +02:00
Joël Schaerer
264eea2756 Preserve the original PROMPT_COMMAND: thanks to "courts"
for the original implementation
(http://n2.nabble.com/Preserving-COMMAND_PROMPT-td2507773.html)
2009-04-10 13:00:20 +02:00
elcerdo
dc4c63c9ea Merge commit 'simon/master' 2009-03-31 23:18:58 +02:00
Simon Marache-Francisco
e86f8a537d autojump will not remember home dir (may be in conflict with other directory) 2009-03-31 09:48:33 +02:00
Simon Marache-Francisco
904fc8b744 cleaned the code 2009-03-30 13:40:48 +02:00
Simon Marache-Francisco
0abbcabe89 Updated documentation 2009-03-30 09:47:00 +02:00
Simon Marache-Francisco
ea884972e6 Added everything and corrected bug 2009-03-30 09:34:24 +02:00
Simon Marache-Francisco
c43c7b73b5 added autojump.zsh to profile.d and autojump in zshrc 2009-03-30 09:24:46 +02:00
Simon Marache-Francisco
3bfaaa4f11 First working version of autoJ for zsh 2009-03-29 22:47:15 +02:00
Simon Marache-Francisco
d7c4f7177e Added the new autocompletition file for zsh 2009-03-29 22:17:51 +02:00
elcerdo
76484c1d14 Revert "Just a Test"
This reverts commit 0136d8f138.
2009-03-28 01:19:58 +01:00
Simon Marache-Francisco
df3efd5383 Bug corrected : default icon changed 2009-03-27 17:13:56 +01:00
Simon Marache-Francisco
0136d8f138 Just a Test 2009-03-27 16:54:55 +01:00
Pierre Gueth
6297dbc118 added settings for terminal and navigator 2009-03-27 16:30:12 +01:00
Pierre Gueth
43389f2924 added recursion to find git repository 2009-03-27 12:25:14 +01:00
Pierre Gueth
9b87282791 updated installer 2009-03-27 12:04:59 +01:00
Pierre Gueth
6174509f28 path specific action + decorator 2009-03-27 11:46:21 +01:00
Pierre Gueth
40cfad04d3 really works 2009-03-26 17:34:19 +01:00
Pierre Gueth
be0a53e877 removed guillemets 2009-03-26 17:23:55 +01:00
Pierre Gueth
113a58096d added gitk 2009-03-26 17:20:12 +01:00
Pierre Gueth
28aa492997 works 2009-03-26 17:07:21 +01:00
Pierre Gueth
35d215fbbc works but do nothing 2009-03-26 16:29:14 +01:00
Pierre Gueth
b706f63257 starting applet 2009-03-26 13:39:45 +01:00
Joël Schaerer
51ae7c9293 remove harmless error message 2009-03-17 10:43:40 +01:00
Joël Schaerer
3bd45e5304 according to T'so, this is the correct way to do atomic writes in a file (http://thunk.org/tytso/blog/2009/03/15/dont-fear-the-fsync/) 2009-03-17 10:39:00 +01:00
Joel Schaerer
29046f4dce remove spurious newline 2009-03-08 15:37:42 +01:00
Joel Schaerer
7b824b752d Merge commit 'a6fb3b7' into HEAD 2009-03-06 20:44:04 +01:00
Joel Schaerer
18447505ee Revert "do the PROMPT_COMMAND in the background for better performance"
This reverts commit 87b188cf12.
2009-03-06 20:43:49 +01:00
Joel Schaerer
a6fb3b7fe7 ok this might even be a better option to run the prompt command in the background 2009-03-06 20:39:02 +01:00
Joel Schaerer
87b188cf12 do the PROMPT_COMMAND in the background for better performance 2009-03-06 20:30:11 +01:00