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

12 Commits

Author SHA1 Message Date
William Ting
48c52a7422 Test for brew existence before testing for brew zsh site functions directory.
The previous test condition would cause errors because even though brew didn't
exist, the directory /share/zsh/site-functions did and it would throw error
messages on non-homebrew systems.
2012-11-03 18:27:41 -05:00
William Ting
3acedf2ed8 Remove loading compinit module from autojump.zsh.
I've updated the documentation to notify end users to add compinit to their
~/.zshrc if they want tab completion.
2012-07-02 17:36:27 -10:00
William Ting
ca8763aa02 Fix #135. Autojump was failing for directories with - due to bad regex. 2012-06-28 18:52:00 -10:00
William Ting
e96dc4c9d8 Fix #86: ZSH tab completion
Forces zsh to load compinit required for tab completion.
2012-06-23 10:20:27 -10:00
Mark Tran
3c439a278e _j is now installed to /usr/local/share/zsh/site-functions in the autojump homebrew formula 2012-06-19 18:49:36 -07:00
William Ting
183fa795d7 Update scripts to use version agnostic pattern matching and corresponding documentation. 2012-05-27 13:14:01 -10:00
William Ting
1b765ab8a6 Use zsh version agnostic approach regarding substring matching 2012-05-27 13:04:24 -10:00
William Ting
32566eb89d Implements #126. Options passed to j will now be parsed. -s short option for
--stat added, jumpstat alias removed.

Options passed to the `j` function will now be passed on autojump. As a result,
directories beginning with `-` are no longer supported.

A -s short alias for --stat is added. Instead of using jumpstat, use `j --stat`
or `j -s` instead.
2012-05-27 11:24:49 -10:00
William Ting
d194429782 Test zsh version before using appropriate regex test conditional.
As best I can tell, ZSH introduced the "=~" condition somewhere around 4.3.5 or
4.3.9. In either case, autojump will use =~ for versions higher than 4.3.5 and
  -pcre-match for older versions of ZSH.
2012-05-27 10:53:33 -10:00
Kenny MacDermid
ee1be0310b Use -pcre-match in .zsh instead of =~.
Before zsh 4.3.5 =~ was not supported. This results in the message
'autojump.zsh:18: condition expected: =~'.
2012-05-20 12:16:31 -03:00
William Ting
da3d660b50 Remove license from individual files, consolidate information into AUTHORS and LICENSE 2012-05-06 12:56:01 -10:00
William Ting
acfc5c13ef restructure files, working make doc and make release 2012-04-17 13:09:39 -10:00