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
Ajeet D'Souza
0b51cb6591
Improve completions ( #562 )
2023-05-06 20:48:19 +05:30
Aaron Kollasch
1d102d4ad2
Fix interactive completion with zsh-autocomplete ( #449 )
2022-09-06 13:18:44 +05:30
Ajeet D'Souza
612f264dd4
Upgrade to Nushell 0.61 ( #362 )
2022-04-22 13:11:11 +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
cherryblossom000
e34b6f930a
Use elvish v0.17 lambda syntax in completions generation ( #334 )
2022-01-12 13:11:48 +05:30
Ajeet D'Souza
bc8958943b
Simplify hook logic
2021-09-09 09:21:46 +05:30
Ajeet D'Souza
e1127f4b72
Assume $E:SHLVL is already set
2021-09-05 23:58:35 +05:30
Ajeet D'Souza
ecc64be909
Add bash/elvish completions for z ( #257 )
2021-09-04 16:01:50 +05:30
Ajeet D'Souza
9ff899308d
Use PROMPT_STRING environment variable
2021-08-31 21:28:23 +05:30
Ajeet D'Souza
3ca89d0e6e
Use shell variables instead of env variables
2021-08-31 16:28:49 +05:30
Ajeet D'Souza
6be3998bb6
Fixes for elvish 0.16.0 ( #255 )
2021-08-24 02:00:34 +05:30
Ajeet D'Souza
d39c9a1fc6
Fix Elvish install instructions
2021-05-27 02:34:01 +05:30
Ajeet D'Souza
6d3cb4bc99
Rename variables
2021-05-04 02:42:43 +05:30
Ajeet D'Souza
027ae1df47
Multi-select for zoxide remove -i ( #192 )
2021-04-29 01:31:00 +05:30
Ajeet D'Souza
0f5fde5afa
Add default prompt for nushell ( #191 )
2021-04-27 17:39:09 +05:30
Ajeet D'Souza
6248f539db
Add support for Elvish ( #174 )
2021-04-09 00:05:42 +05:30