Tony
6324b4e347
Add support for multi digits dirstack entry (e.g. +12). ( #1080 )
2025-06-17 15:27:46 +05:30
Steven Xu
db14bdc2ff
nushell: use sigil operator ( #1070 )
2025-05-31 04:53:54 +05:30
smolsbs
ee8bbe57d3
Fixed the arg[0] argument position ( #1056 )
2025-05-16 03:19:09 -07:00
Koichi Murase
9c0dcf12f3
Run the cd command after "cd ... <space><tab>" in Bash integration ( #1055 )
2025-05-14 08:38:54 +05:30
benz
628f8542a0
Fixes #995 : Wildcard expansion for PowerShell ( #1001 )
...
Co-authored-by: Ajeet D'Souza <98ajeet@gmail.com>
2025-05-13 17:48:55 +05:30
Ajeet D'Souza
8e14038811
Fix lints
2025-05-12 06:22:54 -07:00
Ajeet D'Souza
1d08fe2b84
Add doctor for POSIX shells
2025-05-11 23:24:35 -07:00
Ajeet D'Souza
36537410cd
Doctor should handle PROMPT_COMMAND being an array
2025-05-10 23:41:55 -07:00
Ajeet D'Souza
306d7ae143
Fix shellcheck lint
2025-05-10 21:52:39 -07:00
Ajeet D'Souza
9768e645c7
Remove unneeded quotes
2025-05-10 11:27:02 -07:00
Ajeet D'Souza
8f0288b0c9
Check if zoxide is running under VS Code
2025-05-10 10:22:20 -07:00
Koichi Murase
6ec0436859
Add fixes to Bash integration ( #1048 )
2025-05-10 13:21:47 +05:30
Ajeet D'Souza
095b270fea
csh -> tcsh
2025-05-06 00:26:07 -07:00
Ajeet D'Souza
09aa626a86
Add support for csh ( #1047 )
2025-05-06 11:28:54 +05:30
Lisa FS
7691d7e9a5
nushell: fix jumping to symlinks that are not in the database ( #1032 )
...
Expand path before checking for its type. This solves the issue of ignoring symlinks.
2025-04-13 08:46:27 -05:00
Brian
6902d375c5
powershell: Ignore errors from `__zoxide_hooked` ( #1038 )
2025-04-10 15:46:57 +05:30
Ajeet D'Souza
6679619c00
bash: rewrite prompt after space-tab
2025-03-19 06:01:14 +05:30
Ajeet D'Souza
06f9f3f27c
Release v0.9.7
2025-02-10 03:10:20 +05:30
Bahex
da0fdb2bae
Update nushell init script ( #966 )
2025-02-10 02:47:41 +05:30
Ajeet D'Souza
3fe42e901e
bash doctor
2025-01-09 04:36:18 +05:30
Ajeet D'Souza
791deec8ac
zsh doctor
2025-01-09 03:53:39 +05:30
Ajeet D'Souza
678bbdefbc
Use POSIX implementation for ksh shells
...
Only ksh93 supports DEBUG traps, and the rest don't have any features
that can be used for setting up hooks. May as well use the POSIX
implementation for all ksh shells.
2025-01-09 02:19:20 +05:30
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
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
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
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
Ajeet D'Souza
1cb6312fb2
Return 0 only for Space+Tab
2024-05-06 10:47:50 +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
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
Ajeet D'Souza
012c67de63
Detect infinite loop on Fish ( #732 )
2024-02-24 04:00:38 +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
cf34d02288
--cmd cd works on all shells
2024-02-16 02:31:47 +05:30
Zuruh
f32dc6bcd8
Update nushell template to use rest operator where needed ( #663 )
2024-02-13 03:01:04 +05:30
Ajeet D'Souza
3022cf3686
Fix CI
2023-11-21 02:48:58 +05:30
hackers267
f537a4e6d2
Update min version of Nushell 0.86.0 ( #632 )
...
Co-authored-by: Ajeet D'Souza <98ajeet@gmail.com>
2023-11-19 14:10:52 +05:30
matan h
3898d99f0c
Use `global` scope for PowerShell variables / functions ( #597 )
...
Co-authored-by: Ajeet D'Souza <98ajeet@gmail.com>
2023-08-04 07:25:48 +05:30
JT
786519aa8f
Update nushell env update syntax ( #587 )
2023-07-01 01:01:08 +05:30
Ajeet D'Souza
74ccc0232f
Support for PWD hooks on all versions of PowerShell ( #563 )
2023-05-07 19:19:53 +05:30
Ajeet D'Souza
0b51cb6591
Improve completions ( #562 )
2023-05-06 20:48:19 +05:30