Commit Graph

507 Commits

Author SHA1 Message Date
Peter Jeschke
075fd2c695
Add note about the default hook behaviour (#890) 2024-09-20 20:41:34 +05:30
Ajeet D'Souza
6d3a711115 Remove extra import 2024-09-20 23:05:53 +08:00
Ajeet D'Souza
eb9bd54e59 cargo update 2024-09-19 16:27:01 +08:00
Ajeet D'Souza
3d3267b4fd chore(release): v0.9.6 2024-09-19 16:11:26 +08:00
Ajeet D'Souza
e9d5af3f95 Remove builtin from abbr 2024-09-19 15:21:34 +08:00
dependabot[bot]
991cb0a144
Bump cachix/install-nix-action from V27 to 28 (#889)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from V27 to 28. This release includes the previously tagged commit.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/V27...V28)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-17 03:38:13 +05:30
Ajeet D'Souza
4403326d58
Update ksh instructions 2024-09-13 07:29:36 +05:30
Ajeet D'Souza
55ffe7446d chore(release): v0.9.5 2024-09-13 06:17:34 +05:30
Ajeet D'Souza
efd49e7f3d Handle symlinked database files correctly 2024-09-13 06:05:41 +05:30
Ajeet D'Souza
450433644f Add symlinks to the database 2024-09-13 05:44:35 +05:30
Ajeet D'Souza
c1d7c4f4c7
Add support for ksh (#885) 2024-09-13 05:00:42 +05:30
Ajeet D'Souza
a1be4012e0 fish: fix typo 2024-09-12 22:37:47 +05:30
Ajeet D'Souza
dc0d039be2 fish: use cd from data_dir 2024-09-12 04:43:06 +05:30
Ajeet D'Souza
1ef6d5b8fc fish: Jump to directory from interactive selector (experimental) 2024-09-12 04:42:17 +05:30
Ajeet D'Souza
878b41c937
Use macos-latest 2024-09-07 23:16:07 +05:30
Guillaume Gomez
550bca6458
Switch from askama to rinja (#879) 2024-09-02 13:28:30 +05:30
phanium
297499a4fe
fix(fish): prefix builtin for all non-reserved words (#865) 2024-08-03 23:12:09 +05:30
Han Li
d655e026f5
Support z -- dir for zsh and fish (#858) 2024-07-20 10:49:43 +05:30
solodov
8da8f50eaa
support autocd option (#695)
* support autocd option

In bash, when autocd option is set and user enters a directory name as a
command, it results in a very specific call to cd:

cd -- [directory name]

zoxide's directory changing function passes all arguments to __zoxide_z as is,
including the "--" first argument. By detecting this and skipping the first
argument changing directory works with autocd set.

* remove directory check

just skip the first argument and pass the rest as is. checking for directory
breaks cd'ing to symlinked directories

* undo some of the hackery

tests are failing
2024-06-25 22:47:33 +05:30
Ajeet D'Souza
b881866216
Verify that _ZO_DATA_DIR is an absolute path 2024-06-20 20:41:20 +05:30
Ajeet D'Souza
dbe6f185cf
Remove --select-1 2024-06-03 13:04:07 +05:30
Ajeet D'Souza
063f9c1632
Add i686-unknown-linux under releases (#833) 2024-05-30 02:48:56 +05:30
alaviss
0dfe1c4073
fix(elvish): before-chdir should assign to oldpwd upvalue (#818)
elvish uses lexical scoping for closure capture, as such all `oldpwd`
references within the script refers to the `oldpwd` defined at the top.
However, before-chdir hook is trying to assign to `oldpwd` within the
editor scope, which is not used by this script.

This manifested as a bug in which:

```
~
> mkdir -p /tmp/another

~
> z /tmp

/tmp
> z another

/tmp/another
> z -

~
> # The previous dir should be /tmp not ~!
```

Because the hook was updating a variable that was not used.

Fix the hook so that before-chdir assign to the proper upvalue.
2024-05-29 15:06:28 +05:30
dedebenui
1a4c4933ca
fixed nushell init for new path type behavior (#830) 2024-05-29 13:15:56 +05:30
dependabot[bot]
df0f6e525c
--- (#824)
updated-dependencies:
- dependency-name: cachix/cachix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-21 09:17:24 +05:30
dependabot[bot]
8d28840a89
--- (#823)
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-21 09:16:51 +05:30
huajingyun
226aa66c3b
Update Cargo.lock (#817) 2024-05-16 23:09:05 +05:30
Ajeet D'Souza
e2891634e2
Feature alfred-zoxide on README 2024-05-12 03:17:13 +05:30
Ajeet D'Souza
796fee720e
Add build for Android (#814) 2024-05-11 18:01:57 +05:30
Ajeet D'Souza
ae33940331
chmod -- doesn't work on macOS 2024-05-10 18:07:19 +05:30
Ajeet D'Souza
1cb6312fb2 Return 0 only for Space+Tab 2024-05-06 10:47:50 +05:30
Aaron Dill
801d5e2f22
New installer options (v2) (#672)
Adds support for serveral new command line options (taken from the usage):
    - `--bin-dir   Override the bin installation directory`
    - `--man-dir   Override the man installation directory`
    - `--arch      Override the architecture identified by the installer`
    - `--sudo      Override the default sudo command`
    - `-h, --help      Display this help message`

---------

Co-authored-by: Ajeet D'Souza <98ajeet@gmail.com>
2024-05-06 02:51:23 +05:30
Ajeet D'Souza
4cba9808ff
Lazily delete excluded directories (#809) 2024-05-05 19:48:33 +05:30
gi1242
208bb6375e
zsh: better local directory completion (#787) 2024-05-05 19:40:29 +05:30
Ashley Bartlett
5d8a7ea7b2
fix: Space-Tab interactive completions repeating (#785) 2024-04-13 02:30:59 +05:30
David Legrand
36f440f3e3
docs: add install instructions for Exherbo Linux in README.md (#783) 2024-04-13 02:12:00 +05:30
Ajeet D'Souza
9f67fb5bb9
Add yazi integration 2024-03-30 02:07:55 +05:30
Ajeet D'Souza
94d3cba60e nushell: handle queries that look like args (#761) 2024-03-16 23:10:35 +05:30
Ajeet D'Souza
5b2c9222f9
pwsh: handle queries that look like args (#760) 2024-03-16 12:30:19 +05:30
Anselm Schüler
88d494fc2d
Fix handling of directories that look like flags in fish (#605) 2024-03-16 11:31:42 +05:30
dependabot[bot]
73a2eca43c
Bump softprops/action-gh-release from 1 to 2 (#751)
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-13 23:00:15 +05:30
dependabot[bot]
06f6ed56b5
Bump cachix/install-nix-action from 25 to 26 (#752)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 25 to 26.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v25...v26)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-13 23:00:04 +05:30
xfzv
18001773f3
Add Gentoo repository (#743) 2024-03-05 10:36:09 +05:30
Ajeet D'Souza
012c67de63
Detect infinite loop on Fish (#732) 2024-02-24 04:00:38 +05:30
Ajeet D'Souza
65941f60a4
Highlight instructions 2024-02-22 23:47:39 +05:30
Ajeet D'Souza
418a78d348 chore(release): v0.9.4 2024-02-21 04:36:08 +05:30
Ajeet D'Souza
c9183ce327 Always bind keys 2024-02-21 04:30:49 +05:30
Ajeet D'Souza
5592506456
Improve zsh completions (#725) 2024-02-21 01:45:20 +05:30
Ajeet D'Souza
e0158a72a9 Remove install script from Windows instructions 2024-02-20 15:34:31 +05:30
Ajeet D'Souza
346f3aa90f
Use install script for BSD 2024-02-20 14:51:19 +05:30