Halil Özgür
5538cf70f3
Disable echo of command check
...
For some reason, "command -v brew" by itself has started to output "/usr/local/bin/brew" whenever I start a new shell (in iTerm2 2.0 on OS X 10.9.4 with zsh, oh-my-zsh etc). This fixes it, and it looks like it's the recommended way anyway:
- http://unix.stackexchange.com/a/85250/4678
- http://www.cyberciti.biz/faq/unix-linux-shell-find-out-posixcommand-exists-or-not/
2014-08-21 08:23:18 -07:00
Daniel Hahler
09289c59a5
bin/autojump.zsh: only add existing dirs
...
With a custom install method (e.g. checkout in ~/.autojump), ~/.autojump/functions will not be present.
2014-04-09 17:16:43 +02:00
Daniel Hahler
4a1de9d599
autojump.zsh: use :h
modifier instead of dirname
...
Ref: https://github.com/joelthelion/autojump/issues/249
2014-01-11 20:58:42 +01:00
William Ting
573c1ea418
Test / create errors directory before writing to it.
...
Closes #249 .
2014-01-11 11:46:50 -06:00
William Ting
d4f824d79f
standardize to new age shell style
2014-01-07 22:13:29 -06:00
William Ting
4716493681
append error log if stuff breaks
2014-01-07 22:13:01 -06:00
William Ting
b0957e50eb
Add paths in background, sync comments between shell wrappers
...
Closes #230 .
2013-12-31 09:49:20 -06:00
William Ting
c0301c7cee
minor shell script cleanup
2013-12-31 08:48:33 -06:00
William Ting
9811922a77
cleanup autojump.bash
2013-12-30 18:05:32 -06:00
William Ting
6293af5b7a
fix zsh tab completion
2013-12-30 17:44:39 -06:00
William Ting
bec6314eab
use more portable form of defining bash / zsh functions
2013-12-30 16:27:34 -06:00
Wieland Hoffmann
26db68a8e8
zsh/jo: Defer -options to j
2013-11-24 23:26:23 +01:00
Manpreet Singh
adde814ed3
Prevent duplicates in chpwd_functions on re-source
2013-07-16 20:50:39 -07:00
William Ting
3e6f115ed8
remove old migration code
2013-05-14 23:05:49 -05:00
William Ting
de98e83b25
fix error log location
2013-04-29 12:53:36 -05:00
jostber
a97c516758
Updated cygwin code as for autojump.bash
2013-04-03 13:50:37 +02:00
Jui-Shan Liang
fa756cd7e9
Trying to fix Issue #177
2013-02-15 02:59:01 +08:00
William Ting
48487e3050
minor version bump
2013-02-13 22:25:53 -06:00
William Ting
022b43edd2
Merge branch 'master' of github.com:joelthelion/autojump
2013-02-13 12:15:48 -06:00
William Ting
17d31d881e
Revert "remove _j() as it was never used to begin with."
...
This reverts commit 49a0d702ba
.
Conflicts:
bin/autojump
Closes #178 , #181 .
2013-02-13 12:14:52 -06:00
Jui-Shan Liang
1d31f720f4
Fixed issue: Command "jc" doesn't jump correctly if sibling directories have same prefix
2013-02-12 03:18:12 +08:00
William Ting
c7d0533dd8
handle white space properly when opening with file manager
2013-02-03 09:12:24 -06:00
William Ting
ae978d3319
use zsh change directory hook rather than pre-command hook
2013-02-01 15:00:26 -06:00
William Ting
49a0d702ba
remove _j() as it was never used to begin with.
2013-02-01 14:04:02 -06:00
William Ting
d57e7b779c
add option to open file explorer window from the commandline, bump to 21.4.0
2013-02-01 13:50:52 -06:00
William Ting
f0e45478a7
Add jc function, jump to a subdirectory of the current working directory.
...
Closes #156 .
2012-12-14 22:58:20 -06:00
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