Commit Graph

139 Commits

Author SHA1 Message Date
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
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
65068d4bb5
Add Homebrew install instructions 2020-06-27 14:36:23 +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
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
3f74a81851 Add version badge to README. 2020-05-16 05:34:08 +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
23eea59c70 Release v0.4.0 2020-05-03 18:11:35 +05:30
Ajeet D'Souza
bf76a4e9c1 Update README 2020-04-05 20:45:59 +05:30
Thomas Harmon
ee923c6822
Add note to README about fix for v0.2->v0.3 db incompatability error (#53) 2020-04-02 19:10:30 +05:30
Ajeet D'Souza
ad96db844c Add CHANGELOG.md 2020-03-30 06:48:49 +05:30
Cole Helbling
9af0251bd6 Rework database fallback for v0.3 (#47)
Support migration from old database
2020-03-30 03:32:21 +05:30
Cole Helbling
91cced7333 Document _ZO_EXCLUDE_DIRS env var 2020-03-30 03:32:21 +05:30
Ajeet D'Souza
5547fb4b80 Rename migrate command to import 2020-03-30 03:31:22 +05:30
Cole Helbling
dc5f965b0c
Add POSIX shell support (#43)
Add POSIX shell support

Any users of a shell that adheres to the POSIX standard should now be
supported. Shells that were tested while this feature was in development
include `mrsh`, `dash`, busybox `ash`, and `bash --posix`.

The hook works by defining a `_zoxide_hook` function and adding it to
the shell's `PS1` (causing it to be evaluated every time the prompt is
redrawn).

The PWD hook has been removed, because it is impossible to implement in
a POSIX-compliant and satisfactory way.
2020-03-30 03:24:37 +05:30
Ajeet D'Souza
69546f8b11 Update README 2020-03-17 21:51:42 +05:30
Ajeet D'Souza
a5369beaa4 Prepare for release v0.2.1 2020-03-16 00:08:28 +05:30
Ajeet D'Souza
a899ea3a29 Fix broken hyperlinks in README 2020-03-11 16:06:51 +05:30
Ajeet D'Souza
2c61cb1786 Update README 2020-03-11 05:14:44 +05:30
Ajeet D'Souza
aafc673673 Update README 2020-03-11 04:44:26 +05:30
Ajeet D'Souza
34ab8f3f8b Add --no-define-aliases flag to zoxide init 2020-03-11 01:23:49 +05:30
Ajeet D'Souza
f0c5e28fd7 * Add init subcommand for bash, fish, and zsh
* Migrate errors from failure to anyhow
* Migrate argument parsing from clap to structopt
* Empty z command now goes to $HOME
* DB updates are now atomic and isolated
2020-03-11 00:14:50 +05:30
Ajeet D'Souza
6d91b4e3c4 Fix instructions in README 2020-03-10 03:06:54 +05:30
Ajeet D'Souza
5a6f077ab6 Update README 2020-03-09 01:10:09 +05:30
Ajeet D'Souza
062f33ab61 Update README 2020-03-09 00:35:37 +05:30
Alin Panaitiu
b31c26db6e
Add missing examples heading 2020-03-08 20:45:18 +02:00
Alin Panaitiu
f36ae49bae
Add all headings 2020-03-08 20:41:10 +02:00
Alin Panaitiu
9f7900ca69
Add table of contents 2020-03-08 20:27:24 +02:00
Alin Panaitiu
f6822c06ad
Small fixes 2020-03-08 20:23:00 +02:00
Alin Panaitiu
e6879744c5
Remove key bindings 2020-03-08 18:19:56 +02:00
Alin Panaitiu
5a2cbe0147
Changes based on PR review 2020-03-08 18:17:05 +02:00
Alin Panaitiu
e593051625
Add fish integration 2020-03-08 16:53:13 +02:00
Ajeet D'Souza
bb72e14d23 Add benchmarks to README 2020-03-08 09:36:45 +05:30
Ajeet D'Souza
32ed84c27e Add README 2020-03-08 08:14:54 +05:30