Coder Social home page Coder Social logo

[powershell] I've changed the prompt on powershell, and now zoxide won't add the path to the database when I used the `z` command. about zoxide HOT 5 CLOSED

yisuixinq avatar yisuixinq commented on June 7, 2024
[powershell] I've changed the prompt on powershell, and now zoxide won't add the path to the database when I used the `z` command.

from zoxide.

Comments (5)

ajeetdsouza avatar ajeetdsouza commented on June 7, 2024 2

Are you calling zoxide init before initializing your prompt? If yes, that's probably your issue - you can fix this by moving zoxide to the end of your config file.

from zoxide.

yisuixinq avatar yisuixinq commented on June 7, 2024

Are you calling zoxide init before initializing your prompt? If yes, that's probably your issue - you can fix this by moving zoxide to the end of your config file.

No, I Call the zoxide init at the end of powershell config file.

from zoxide.

NoahELE avatar NoahELE commented on June 7, 2024

Are you calling zoxide init before initializing your prompt? If yes, that's probably your issue - you can fix this by moving zoxide to the end of your config file.

It solves the problem for me. Did you call the prompt function after the zoxide init?

Also it seems that the setup script has been updated to Invoke-Expression (& { (zoxide init powershell | Out-String) }). I wonder if this would be the problem.

from zoxide.

ajeetdsouza avatar ajeetdsouza commented on June 7, 2024

@yisuixinq would you mind sharing your PowerShell config, and what version of PowerShell you're using?

from zoxide.

github-actions avatar github-actions commented on June 7, 2024

This issue has been automatically closed due to inactivity. If you feel this is still relevant, please comment here or create a fresh issue.

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.