Coder Social home page Coder Social logo

Comments (4)

rudenkornk avatar rudenkornk commented on June 6, 2024

+1 on this
Completions do not work for me neither in fish nor bash. I see that zoxide init fish outputs among others __zoxide_z_complete, so I guess it should work?..


Update:
Ok, I figured that out in my case.
So, the way z autocompletes is that by default it uses normal cd completions.
"Smart" completions are only enabled if two conditions are met:

  1. You entered your "guess" and a space after it
  2. Your guess has at least one candidate. If that is not true, z reports an error and that looks a bit weird in the terminal.

from zoxide.

enolive avatar enolive commented on June 6, 2024

I think the autocompletion works, but not in the way cd autocompletion does, which is not compatible with my brain 😞

for now I replaced the configured zoxide autocompletion with the one found in __fish_complete_cd: (note that use zoxide through fisher)

# replace zoxide autocompletion with the default one for cd as it does not meet my expectations right now
complete -e $zoxide_cmd
complete -c $zoxide_cmd -a '(__fish_complete_cd)'

from zoxide.

bs10x avatar bs10x commented on June 6, 2024

same for me. this has been driving me crazy for months.

from zoxide.

vasi786 avatar vasi786 commented on June 6, 2024

same for me on bash.

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.