Commit Graph

142 Commits

Author SHA1 Message Date
Ajeet D'Souza
f230e75559 Avoid removing currently inaccessible directories 2020-09-18 01:00:37 +05:30
Ajeet D'Souza
5cfcd79c39 Support globs in _ZO_EXCLUDE_DIRS 2020-09-16 02:50:58 +05:30
Ajeet D'Souza
f4525db02f Rewrite init commands 2020-09-16 02:21:28 +05:30
Ajeet D'Souza
2add9de830
Update CHANGELOG.md 2020-08-24 03:01:02 +05:30
Ajeet D'Souza
45b8ddb714 Call _zoxide_hook last in function list 2020-08-15 02:20:50 +05:30
Tom Moulard
abe049d5f4
Prevent zoxide from changing $? in $PROMPT_COMMAND 2020-08-14 22:26:25 +05:30
Spencer Woo
22b945bc32
Add installation via scoop instructions (#99) 2020-07-27 19:15:20 +05:30
Ajeet D'Souza
4091ef825c
Update installation instructions 2020-07-26 22:09:24 +05:30
Ajeet D'Souza
a454f7cbbf Release 0.4.3 2020-07-04 13:34:45 +05:30
Greedwolf DSS
f6522d1cf8
fix: fish pwd usage (#92) 2020-07-04 13:28:42 +05:30
Ajeet D'Souza
f43827a2e9 Release v0.4.2 2020-07-04 01:09:21 +05:30
Ajeet D'Souza
1bc0454f84 Update dependencies 2020-07-03 23:06:24 +05:30
Ajeet D'Souza
3d8181dd53 Update CHANGELOG.md 2020-07-03 12:12:47 +05:30
Anthony Ruhier
d49a2c1495 Add _ZO_RESOLVE_SYMLINKS to resolve or not symlinks (#85)
Fixes #80.

Disable by default the symlinks resolution, making a symlink and its
target 2 different entries in the database. Adds the
_ZO_RESOLVE_SYMLINKS env variable to re-enable it.

Example:
  /tmp/foo-target is a directory
  /tmp/foo symlinks to /tmp/foo-target

With _ZO_RESOLVE_SYMLINKS=1, `z add /tmp/foo` adds `/tmp/foo-target` in the database.

With _ZO_RESOLVE_SYMLINKS=0 or unset, `z add /tmp/foo` adds `/tmp/foo` in the database.
2020-07-03 12:12:47 +05:30
Ajeet D'Souza
c5bc49884d Fix imports 2020-07-03 12:12:47 +05:30
Ajeet D'Souza
11ba2af20e Rename $result to $_zoxide_result 2020-07-03 12:12:05 +05:30
Ajeet D'Souza
ba13b45940 Add --score flag to show score with query result 2020-06-28 00:12:49 +05:30
Ajeet D'Souza
4ba82ce817 Update README and CHANGELOG 2020-06-28 00:11:43 +05:30
Ajeet D'Souza
19bac0b31a Add option to list all query results 2020-06-28 00:11:43 +05:30
Ajeet D'Souza
e8eb685e58 Add _ZO_FZF_OPTS to specify fzf options 2020-06-28 00:11:43 +05:30
Ajeet D'Souza
d8a29f4367 Fix zi function 2020-06-28 00:11:42 +05:30
Ajeet D'Souza
9b056fb58c Removed help menus for z and zri functions 2020-06-28 00:10:35 +05:30
Ajeet D'Souza
e1c1570174 Change zri to a shell function 2020-06-28 00:03:36 +05:30
Ajeet D'Souza
65068d4bb5
Add Homebrew install instructions 2020-06-27 14:36:23 +05:30
Louis Feuvrier
5c107c23cf
Rename $result to $_zoxide_result to avoid conflicts (#87) 2020-06-27 14:27:39 +05:30
Ajeet D'Souza
664b95d601
Update badges 2020-06-23 14:55:41 +05:30
Herby Gillot
fd7ce680c4
README: add instructions on installing via MacPorts (#88) 2020-06-23 13:51:50 +05:30
Spencer Woo
5864cd5564
Add windows-msvc cargo build target to GitHub Actions (#86) 2020-06-13 19:05:54 +05:30
Stavros Korokithakis
1ce74baf3b
Increase the _ZO_MAXAGE default (#84) 2020-06-08 13:14:36 +05:30
Ajeet D'Souza
922e2e4847 Add demo GIF to README 2020-05-30 05:08:30 +05:30
Ajeet D'Souza
27389cee25 Add installation instructions for CentOS 2020-05-28 17:45:28 +05:30
Ajeet D'Souza
bc0ca7b82c Release v0.4.1 2020-05-25 02:55:00 +05:30
Ajeet D'Souza
eaf6ef5900 Minor refactor 2020-05-25 00:39:27 +05:30
Ajeet D'Souza
edf3c68a7c Avoid long variable names 2020-05-16 18:23:38 +05:30
Ajeet D'Souza
dad0f60b28 Use util::path_to_str for path conversions 2020-05-16 17:59:21 +05:30
Ajeet D'Souza
208a6a9eb8 Convert paths to String 2020-05-16 17:31:11 +05:30
Ajeet D'Souza
3f74a81851 Add version badge to README. 2020-05-16 05:34:08 +05:30
Ajeet D'Souza
efd615b910 Optimize query algorithm 2020-05-15 19:40:54 +05:30
Ajeet D'Souza
08cf7dfa86 Merge branch 'master' of github.com:ajeetdsouza/zoxide 2020-05-15 18:25:21 +05:30
Ajeet D'Souza
0c1143fe34 Remove streaming serde for database 2020-05-15 18:13:24 +05:30
Igor Raits
030679b6f5
README: Add Fedora instructions (#72) 2020-05-15 16:09:19 +05:30
Jason Shirk
5cdd8fd599
Add support for PowerShell (#65) 2020-05-06 11:33:06 +05:30
Ajeet D'Souza
12c6ce0076 Update CHANGELOG 2020-05-04 01:10:43 +05:30
Ajeet D'Souza
0c3a8a79c3 Remove compatibility with v0.2.x databases 2020-05-04 01:09:01 +05:30
Ajeet D'Souza
23eea59c70 Release v0.4.0 2020-05-03 18:11:35 +05:30
Ajeet D'Souza
0e936fede1 Rename --no-define-aliases flag to --no-aliases 2020-05-03 18:09:54 +05:30
Ajeet D'Souza
e0572a4569 Rename --z-cmd flag to --cmd 2020-05-03 15:15:40 +05:30
Fredrik Sommar
f19aa07145
Aliases respect the z-cmd arg (#70)
When changing the z-cmd to something like `j` instead, the aliases will also use `j` as a prefix, e.g. `ji`, `ja`.
2020-05-03 14:58:01 +05:30
Ajeet D'Souza
4731533352 $_ZO_ECHO must be set to 1 to be enabled 2020-05-03 02:42:42 +05:30
Ajeet D'Souza
e4dae1dd54 Improve interactive mode in zoxide remove 2020-05-03 02:12:58 +05:30