Giter VIP home page Giter VIP logo

Comments (5)

ashleybartlett avatar ashleybartlett commented on June 2, 2024 1

I had also reported this, and think i've found the fix #785

from zoxide.

ajeetdsouza avatar ajeetdsouza commented on June 2, 2024

For instance, consider the command z followed by a tab.

z foo<Tab> will give you local directory completions. z foo<Space><Tab> will pull up interactive completions. Are you adding a <Space>?

Also, have you called compinit before initializing zoxide?

  • If compinit is not called, zoxide will not initialize completions
  • If compinit is called after zoxide, it will reset the completions for zoxide

from zoxide.

ThijmenDam avatar ThijmenDam commented on June 2, 2024

Are you adding a space?

Yes, I use z foo<Space><Tab>

Also, have you called compinit before initializing zoxide?

Should I explicitly call this command in my ~/.zshrc file? Currently, the file looks like this:

eval "$(starship init zsh)"
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
eval "$(zoxide init zsh)"

Do you need any other information?

from zoxide.

ajeetdsouza avatar ajeetdsouza commented on June 2, 2024

Should I explicitly call this command in my ~/.zshrc file?

Yup. Add this right at the start of your zshrc file:

autoload -Uz compinit
compinit

from zoxide.

ThijmenDam avatar ThijmenDam commented on June 2, 2024

Yup. Add this right at the start of your zshrc file:

autoload -Uz compinit
compinit

This has resolved the issue. Thank you very much for the support @ajeetdsouza!

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.