Ajeet D'Souza
54d732ae96
bash doctor
2025-01-09 04:20:22 +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
Ajeet D'Souza
a7c8231e56
Update GitHub Actions
2023-05-05 13:24:44 +05:30
Ajeet D'Souza
56956779b2
Consistent style for environment variables
2023-04-16 19:54:55 +05:30
Ajeet D'Souza
4dff2b1602
Add support for older Fish versions
2023-04-15 00:08:16 +05:30
Lily Mara
4f475a75cb
Nushell: use new lambda syntax
2023-04-15 00:05:05 +05:30
Ajeet D'Souza
86741bbe6a
Define completions on __zoxide_z
2023-01-08 07:51:03 +05:30
Ajeet D'Souza
3ab0a7b8fd
Edit subcommand ( #498 )
2023-01-07 22:58:10 +05:30
Ajeet D'Souza
7af4da1dab
fzf: enable colors in preview when possible on macOS / BSD
2022-12-09 02:29:01 +05:30
Ajeet D'Souza
82d4f73aae
Use tab to cycle through completions ( #496 )
2022-12-09 01:35:13 +05:30
Ajeet D'Souza
e8c5f7a975
Upgrade Nushell to v0.73.0 ( #495 )
2022-12-08 23:24:43 +05:30
Ajeet D'Souza
4a47da0ed4
Don't hide output from chpwd hooks ( #474 )
2022-10-28 18:58:07 +05:30
Ajeet D'Souza
9d9bcfcac2
Handle UTF-8 output correctly in PowerShell
2022-09-18 11:33:41 +05:30
Aaron Kollasch
1d102d4ad2
Fix interactive completion with zsh-autocomplete ( #449 )
2022-09-06 13:18:44 +05:30
Ajeet D'Souza
b38b89eb3b
Add PWD hooks to Nushell ( #439 )
2022-08-13 13:18:21 +05:30
Ajeet D'Souza
b0c899b99f
Support z -
in Nushell
2022-08-12 13:03:19 +05:30
Ajeet D'Souza
535762b80a
Fix double forward slash in Bash completions ( #438 )
2022-08-12 08:16:28 +05:30
Ajeet D'Souza
e4b9e12b0f
Improved preview window for fzf
2022-08-04 21:45:08 +05:30
Mark Keisler
1306fba4ac
zsh: allow z
to navigate dirstack via +n
and -n
2022-07-26 13:27:06 +05:30
Ajeet D'Souza
e7cc34b359
Change change fuzzy completion prefix to z!
2022-07-04 17:16:35 +05:30
Ajeet D'Souza
f830fbd670
Add minimum supported version for Fish
2022-07-01 15:03:30 +05:30