Git Product home page Git Product logo

Comments (3)

kelleyma49 avatar kelleyma49 commented on August 19, 2024 1

fzf versions great than 0.27.3 should resolve this problem, so I'm closing this for now. Let me know if you see it again.

from psfzf.

ntpeters avatar ntpeters commented on August 19, 2024

I think I found the issue. This line appears to be the problem:

$script:ShellCmd -f ($env:FZF_DEFAULT_COMMAND -f $dir)

This should be invoking the command directly, rather than through cmd. If I make that change locally it seems to work fine. Looks like this should also be using the quoted directory path here too.

Beyond this fix, it'd be nice to have additional options (viaSet-PSFzfOption) to explicitly specify a format string for this command along with options to provide args for searching by directory only and colorization. It may not always be desirable to use $FZF_DEFAULT_COMMAND, so providing options to override that would be great.

from psfzf.

kelleyma49 avatar kelleyma49 commented on August 19, 2024

The intended behavior is to pass the command to the native shell.

I believe the actual problem you are seeing is related to a regression I introduced into fzf itself a couple of months back. I have fixed the regression (junegunn/fzf#2580), but fzf hasn't had an update in a couple of months. If you're setup to build go binaries, you can check out fzf's head to test the fix.

from psfzf.

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.