Comments (11)
I am using the correct one. With the help of the nushell guys at discord it was solved as shown below:
zoxide init nushell | str replace --all "-- $rest" "-- ...$rest" | str replace --all "def-env" "def --env" | save -f ~/.zoxide.nu
Note second replacement of the deprecated code. Thank you.
from zoxide.
I found a workaround by myself.
zoxide init nushell | str replace "$env.PWD -- $rest" "$env.PWD -- ...$rest" --all | save -f ~/.zoxide.nu
from zoxide.
@binhtran432k your workaround doesn't cover interactive zoxide calls (zi
). I suggest this one:
zoxide init nushell | str replace --all "-- $rest" "-- ...$rest" | save -f ~/.zoxide.nu
from zoxide.
I compiled zoxide with newest fix for Windows in case someone needs: https://github.com/CarterLi/zoxide/releases/tag/nufix2
from zoxide.
I am using zoxide v0.4.3-unknown on Linux Mint Debian Edition - none of the above suggestion works. nushell v0.89.0. I keep receiving the following error:
error: 'nushell' isn't a valid value for 'shell'
[possible values: bash, fish, posix, powershell, zsh]
USAGE:
zoxide init --cmd --hook
from zoxide.
any updates on this? It still doesnt work on Arch and nushell.
from zoxide.
doesnt work for me. Do I have to add this command on my env file?
from zoxide.
doesnt work for me. Do I have to add this command on my env file?
yes it is just same as the config you put in your env, the solution is just replace the deprecated code with new one before save it to ~/.zoxide.nu
from zoxide.
@st-clair-clarke you should update to a newer version.
from zoxide.
After updating I receive the same error as described above - the fix did not work.
from zoxide.
@st-clair-clarke you mean your version of zoxide still rejects nushell as a shell? Are you sure you're using zoxide 0.9.2
?
from zoxide.
Related Issues (20)
- How can I change the shortcuts in zi?
- zoxide: no match found on startup HOT 10
- Possible to get a list of previous dirs by time?
- feasibility integrate with vscode cli(`code`) HOT 3
- unknown option: --keep-right zoxide: fzf returned an error HOT 1
- Unable to initialize zoxide in my zsh HOT 2
- Zoxide with cd alias breaks fish - 'prevd-or-backward-word' & 'nextd-or-forward-word' HOT 2
- eval not found HOT 5
- Unable to install zoxide in arch linux HOT 2
- Arch 'MANJARO' with ZSH and Powerlevel10k PROBLEMS HOT 1
- Help with excluding dirs HOT 2
- z "" should act as z with no arguments (go to home directory) HOT 3
- Feature request: "z . some keywords" to find matches in current directory HOT 2
- New Command Idea: Env
- Zoxide "zi" hangs when mount point is in list (/mnt) that's unavailable HOT 1
- Provide a way to configure where a bare `z` command goes HOT 1
- Feature Request: Automatic Backup and Recovery for db.zo HOT 6
- Zoxide's init-script generated for nu-shell fails with error upon sourcing HOT 4
- __zoxide_cd:cd:2: no such file or directory: world! HOT 4
- Autocompletion for fish is not working on my system HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zoxide.