Alex Thiessen
54e5cb0356
bin/autojump: Make the test pass
...
The order of completion suggestions must be according to the weights,
yet `set` is unordered. Thus, sorting needs to be performed after
de-duplicating.
Fixes https://github.com/wting/autojump/issues/348
3 years ago
Alex Thiessen
4e11af9f12
bin/autojump: Fix a Flake8 warning
3 years ago
William Ting
af23852374
Bump to 22.5.3.
6 years ago
William Ting
daa496bc39
Revert "Merge branch 'wting_create_temp_file_on_same_device'"
...
This reverts commit cf358d8fd3
, reversing
changes made to 8eace445a7
.
6 years ago
William Ting
bc4ea61546
Create temporary file on the same device as data.
...
One idea for why the database is occasionally purged is due to the
temporary file being on a separate device than the database. This
patch implements @lilydjwg's suggestion here:
https://github.com/wting/autojump/issues/391#issuecomment-419349650
6 years ago
William Ting
6a529f4f92
Put autojump's files in its own directory if $XDG_DATA_HOME is set.
7 years ago
William Ting
a0719f488e
(Running pre-commit) Use Yelp-style indentation.
7 years ago
William Ting
0e4d15ace6
(Running pre-commit) Reorder imports.
7 years ago
William Ting
46329ac744
(Running pre-commit) Replace double quotes with single quotes.
7 years ago
William Ting
3f0eae1be7
Bump version to v22.5.1.
8 years ago
William Ting
865476ed56
Bump version to v22.5.0.
8 years ago
William Ting
b2f243ee17
Revert "Merge remote-tracking branch 'sodiumjoe/optimize-startup'"
...
This reverts commit 39990fff58
, reversing
changes made to c4d82b1888
.
8 years ago
William Ting
df935c664c
Bump version to v22.4.0.
8 years ago
William Ting
c4d82b1888
Bump version to v22.3.5.
8 years ago
William Ting
851f3e3b2d
Bump version to v22.3.4
8 years ago
William Ting
737563570e
Fix match imports and simplify fuzzy threshold.
8 years ago
William Ting
218d779b4d
Simplify flake8 noqa.
8 years ago
William Ting
7922a9013d
Update copyright dates.
8 years ago
William Ting
797d97c9bf
Add module naming comment.
8 years ago
William Ting
2e60fa2892
Add vendorized argparse comment.
8 years ago
Marek Marecki
9622659099
Fix: handling regex characters in path patterns
...
Before this commit if a regex-special character was present on the
commandline as a part of path pattern autojump would fail with
`sre_constants.error`.
8 years ago
William Ting
61af2bf4c5
Bump to v22.3.2, fixes #411 .
8 years ago
Jared Hess
68e10ae402
Fix entry sorting indeterminancy by adding path as secondary sorting key
8 years ago
William Ting
ecd272e979
Bump version to v22.3.1.
8 years ago
graysky
aa366c3a4f
bump version in script to match release
9 years ago
William Ting
8b525c1b55
Bump to v22.24.
10 years ago
William Ting
fa3ff58d92
Add custom sourcing to autojump.sh when using --prefix.
...
Fixes #345 .
10 years ago
William Ting
c5f0473837
Bump to v22.2.2.
10 years ago
William Ting
f75d01299d
Correctly identify OSTYPE for some Linux distros.
10 years ago
Daniel Hahler
c0c9398794
Handle `j -- -foo` (for bash and zsh only)
...
Ref: #310
10 years ago
William Ting
819c5c76cc
Makes sure that autojump is sourced before running.
...
Fixes #255 .
10 years ago
William Ting
531a7321d3
Add fish error logging.
...
Fixes #247 .
10 years ago
William Ting
77d9d6ebc2
Installs to /usr/local/share instead of /etc/profile.d.
...
Fixes #257 , #267 .
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
896b1c8562
Use ternary.
10 years ago
William Ting
3c658dc64f
Fix flake8 errors.
10 years ago
William Ting
581b8d9617
autopep8'ed
10 years ago
William Ting
2100f993b3
formatting cleanup
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
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
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
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
615bb0cafb
more descriptive / python function names
11 years ago