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
Ajeet D'Souza
7c7a2a0a3c
Add cargo-deb metadata ( #409 )
2022-06-26 00:37:44 +05:30
Ajeet D'Souza
10c11310ed
Escape spaces correctly in Bash completions ( #408 )
2022-06-25 17:20:28 +05:30
Ajeet D'Souza
4bf470dff6
Use nextest in CI
2022-05-19 17:12:25 +05:30
NextAlone
7d0ddedc6b
fix: interactive completion for fish ( #385 )
...
Co-authored-by: Ajeet D'Souza <98ajeet@gmail.com>
2022-04-27 19:05:52 +05:30
Ajeet D'Souza
6b2c6a2bc3
Fix Windows paths on Fish+Cygwin
2022-04-27 02:53:22 +05:30
Ajeet D'Souza
612f264dd4
Upgrade to Nushell 0.61 ( #362 )
2022-04-22 13:11:11 +05:30
Kid
24d21ec8ab
Simplify fish init script ( #370 )
2022-04-17 14:36:47 +05:30
Ajeet D'Souza
b71d33b5c1
Replace --no-aliases
with --no-cmd
2022-04-11 03:41:51 +05:30
skwerlman
a0242d7c9a
Switch elvish template to new try/catch syntax ( #371 )
2022-03-31 16:50:29 +05:30
Ajeet D'Souza
17365710af
Copy owner from previous database file ( #364 )
2022-03-09 19:59:39 +05:30
Ajeet D'Souza
df148c834f
Require bash 4.4+ for completions ( #354 )
2022-02-25 04:15:19 +05:30
cherryblossom000
e34b6f930a
Use elvish v0.17 lambda syntax in completions generation ( #334 )
2022-01-12 13:11:48 +05:30