1
0
mirror of https://github.com/wting/autojump synced 2024-09-29 06:20:45 +00:00
Commit Graph

31 Commits

Author SHA1 Message Date
William Ting
25d1b9cf92 Fixes #113, #115, refactor autojump to use argparse over optparse. 2012-04-07 04:21:07 -10:00
William Ting
9147d6cf71 First version of argparse implemented 2012-04-07 04:14:19 -10:00
William Ting
c91843c698 #114: Error message when directory does not exist or not in autojump database. 2012-04-02 21:58:43 +09:00
William Ting
465ca7908a Fixes #114: autojump suppresses the error message caused by 'j --help'. 2012-04-02 11:33:10 +09:00
William Ting
a7c9575bce fix bug where $XDG_DATA_HOME is not set properly when switching between users via su 2012-03-15 13:06:45 -10:00
William Ting
448696ef9b fix conditional where tilde (~) was not properly expanding to user's home directory 2012-03-14 12:54:48 -10:00
William Ting
1d2f3be46a change brew test conditional to not throw errors on non-homebrew systems 2012-03-12 09:50:19 -10:00
Evan Shelhamer
394c67c441 Add fpath update for homebrew installs 2012-03-01 19:45:47 -05:00
Khalid Zubair
f0fe603af5 Add option to preserve symlinks to the zsh script 2012-02-10 19:41:17 -05:00
Khalid Zubair
a5a135d2b5 Add option to preserve symlinks to the zsh script 2012-02-10 19:37:56 -05:00
William Ting
280ff739e6 remove hardcoded fpath 2012-02-07 23:59:15 -10:00
William Ting
2a364ae73e refactor install.zsh so only one line needs to be added to .zshrc 2012-02-07 14:48:24 -10:00
Joël Schaerer
c41771e2f2 Merge branch 'contrib/xdg-base-directory' of git://git.ortolo.eu/pkg-autojump into tanguy
Conflicts:

	autojump.bash
	jumpapplet

This should correctly merge Tanguy's XDG changes (thanks!) into the new
codebase.
2011-08-26 15:59:02 +02:00
Joël Schaerer
988adeaee8 hide the error file 2011-08-26 15:28:17 +02:00
Tanguy Ortolo
a45d94167f Update the shell snippets to use the XDG spec. 2011-07-24 21:08:56 +02:00
Joel Schaerer
16da74b2ff add an exit status to the j functions 2011-02-07 22:51:59 +01:00
Joel Schaerer
0217d6e066 fix perms: these scripts are meant to be sourced, not executed 2010-12-19 11:58:45 +01:00
Joël Schaerer
d9010198ef no need for a hidden file in this directory 2010-10-27 14:52:28 +02:00
Joel Schaerer
c877a51ad6 disable XDG_DATA_HOME for now
Some people will scream, but XDG_DATA_HOME is broken for now, since
it is not changed when you "su" from a terminal.
2010-10-01 16:36:41 +02:00
Joël Schaerer
e04382358b tentative fix of corner case path bug 2010-09-30 14:37:43 +02:00
Julien Nicoulaud
e60f35d866 Avoid 'scalar parameter data_dir created globally in function' warning in Zsh 2010-08-19 00:05:30 +08:00
Joël Schaerer
7bd7db8770 messed up the last commit 2010-07-26 16:31:45 +02:00
Joël Schaerer
4de9c1c311 put the autojump data files in the correct directories.
Existing files should be migrated automatically
2010-07-26 16:24:34 +02: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
Joël Schaerer
2963f1fcea license stuff 2009-05-13 11:32:19 +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
Simon Marache-Francisco
ea884972e6 Added everything and corrected bug 2009-03-30 09:34:24 +02:00
Simon Marache-Francisco
3bfaaa4f11 First working version of autoJ for zsh 2009-03-29 22:47:15 +02:00