Coder Social home page Coder Social logo

Comments (4)

ajeetdsouza avatar ajeetdsouza commented on June 13, 2024

What version of zoxide / zsh is this?

zoxide --version
zsh --version

from zoxide.

BurntNail avatar BurntNail commented on June 13, 2024

Zsh: zsh 5.9 (x86_64-redhat-linux-gnu)

This issue seems to affect me on both machines running Fedora 39 & 40 (v0.9.2).

Also - If I sudo dnf remove zoxide and cargo install --git https://github.com/ajeetdsouza/zoxide/ , I still get the issue.

from zoxide.

ajeetdsouza avatar ajeetdsouza commented on June 13, 2024

This is almost certainly an issue specific to your setup. cdi is based on the zoxide query -i command, which only outputs absolute paths (so just world! should not be possible), and it only outputs directories that exist.

It's hard to debug without having access to your setup. But here's some steps I think you could use to debug this on your own:

  • The cdi command is an alias of __zoxide_zi.
  • You can see the source code by running type -f __zoxide_zi.
  • Once you see the source code, try running it bit by bit manually and see where the world! result is coming from.

from zoxide.

BurntNail avatar BurntNail commented on June 13, 2024

Managed to fix it - it was an error with my fzf installation. There seems to be a crate called fzf that prints Hello, world! which I had mistakenly installed and it was overriding my system fzf. Sorry!

from zoxide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.