William Ting
e621603e46
Merge pull request #319 from wting/check_autojump_sourced
...
Makes sure that autojump is sourced before running.
10 years ago
William Ting
819c5c76cc
Makes sure that autojump is sourced before running.
...
Fixes #255 .
10 years ago
William Ting
fe5f78fe43
Merge pull request #320 from wting/add_fish_error_logging
...
Add fish error logging.
10 years ago
William Ting
531a7321d3
Add fish error logging.
...
Fixes #247 .
10 years ago
William Ting
4f90d5b755
Merge pull request #321 from wting/install_to_usr_local_share
...
Installs to /usr/local/share instead of /etc/profile.d.
10 years ago
Daniel Hahler
e3f3257a8c
gitignore: __pycache__
10 years ago
William Ting
77d9d6ebc2
Installs to /usr/local/share instead of /etc/profile.d.
...
Fixes #257 , #267 .
10 years ago
William Ting
86f663fa6e
Minor doc fix.
10 years ago
William Ting
f480bd1315
Detect user shell as opposed to login shell.
...
Fixes #256 .
10 years ago
William Ting
0d80d91805
Always append to error log.
10 years ago
William Ting
2095b2b129
Merge branch 'master' of github.com:joelthelion/autojump
10 years ago
William Ting
896b1c8562
Use ternary.
10 years ago
William Ting
3c658dc64f
Fix flake8 errors.
10 years ago
Daniel Hahler
b60932616b
Use `noautonamedirs` with Zsh aliases
...
Fixes https://github.com/joelthelion/autojump/issues/312
10 years ago
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/
10 years ago
William Ting
23be6ab233
Tweak Windows temp.close() comment line.
10 years ago
timotei
c889aa013e
Close the temporary file before re-opening it.
...
On Windows, we cannot reuse the temp.name to
reopen the file *unless* it has been closed
before [0].
This problem in turn made the `move_file`
request to fail, since the file was still
open at the time.
[0] https://docs.python.org/2/library/tempfile.html#tempfile.NamedTemporaryFile
10 years ago
William Ting
581b8d9617
autopep8'ed
10 years ago
William Ting
f23727ed0f
Disable Unicode tests for Python 3.
...
Closes #299 .
Due to the mixed testing between Python 2 and 3 and different string
implementations, there's no easy way to test Unicode stuff.
10 years ago
William Ting
62c0877479
Add xrange() and fix second() for Python3.
10 years ago
William Ting
921b52e9d5
Add a u() wrapper to enable testing to work in both Python2 and Python3.
10 years ago
William Ting
567ae121ab
Add install / uninstall / documentation for tcsh shell.
10 years ago
William Ting
349326c82c
Merge branch 'tcsh' of https://github.com/jkuan/autojump into 282_add_tcsh_support
10 years ago
William Ting
e30d7d392e
Duplicate fbf932 changes in proper locations and rebuild docs.
10 years ago
William Ting
969fb4e6ed
Add tox for testing with different Python versions.
10 years ago
William Ting
3465bb1f84
Migrate from Yelp/Testify to py.test.
...
Closes #300 .
10 years ago
William Ting
2100f993b3
formatting cleanup
10 years ago
William Ting
1e15497706
Merge pull request #298 from erbridge/fix_encoding_error
...
Fix bad encoding
10 years ago
William Ting
17565a907d
Merge pull request #296 from blueyed/handle-empty-needle
...
Completion and jumping for empty needles
10 years ago
Felix Laurie von Massenbach
68b457184d
Fix bad encoding.
...
In python3, string.encode returns a byte array like:
b'14.1:\t/home/felix/devel/autojump'
This stops autojump from functioning at all.
10 years ago
Daniel Hahler
015deece87
Completion and jumping for empty needles
...
This adds support for `j <tab>` and `j` without a needle to jump to the
first/best match.
Fixes https://github.com/joelthelion/autojump/issues/269
10 years ago
Daniel Hahler
fbf932c4f2
README: minor fixes
10 years ago
Daniel Hahler
196d5233a0
Fix `is_cwd` for symlinks
...
Since `pwd` is a resolved symlink, the comparison in `is_cwd` needs to
use the real path, too.
10 years ago
Daniel Hahler
95472620c7
Escape backslashes in regexps (match_anywhere/match_consecutive)
...
Fixes https://github.com/joelthelion/autojump/issues/281
10 years ago
Daniel Hahler
27a01662a5
Fix regression with `j foo__`
...
With `j foo__` the first index is assumed now again.
Fixes https://github.com/joelthelion/autojump/issues/271
10 years ago
Daniel Hahler
2f26642e7a
Fix `Needles must be a list error` for `foo_1`
...
Fixes https://github.com/joelthelion/autojump/issues/274
10 years ago
Daniel Hahler
c16a816d37
Merge remote-tracking branch 'blueyed/autojump.zsh-only-add-existing-dirs'
10 years ago
Daniel Hahler
8c7f0bf994
Makefile: prepend `./` to (un)install.py
10 years ago
Johnny Kuan
225cdb2a8b
fix to allow directories starting with hyphens
11 years ago
Johnny Kuan
903f79333a
minimal tcsh support
11 years ago
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.
11 years ago
William Ting
6360876933
Fixes missing path getter introduced in bc91905a
.
...
Closes #270 .
11 years ago
William Ting
bc91905a29
simplify default path
11 years ago
William Ting
72313dbc51
fish config file location verified
11 years ago
William Ting
4826a0ef6b
Use temporary files to prevent IO race conditions.
...
Refer to #260 .
11 years ago
William Ting
4bd62e2293
minor refactor
11 years ago
William Ting
1d317dcd1a
Remove default '.' path from find_match.
...
This interferes with tab completion. Rather than add another behavior flag to
find_matches(), the calling location will add the default path.
Closes #245 .
11 years ago
William Ting
d0578b2c10
Remove accidentally creating tuples.
...
Fixes #244 .
11 years ago
William Ting
559ead890c
Update Makefile to use new install / uninstall scripts.
...
Closes #263 .
11 years ago
William Ting
615bb0cafb
more descriptive / python function names
11 years ago