GithubHelp home page GithubHelp logo

fzf-cd does not work in mac about fzf.kak HOT 6 CLOSED

andreyorst avatar andreyorst commented on August 15, 2024
fzf-cd does not work in mac

from fzf.kak.

Comments (6)

andreyorst avatar andreyorst commented on August 15, 2024

Hm. I'm not sure about mac's find, but I'll add ability to change the command. I'd like to ask you to debug this command in MacOS:

(echo .. && find \( -path '*/.svn*' -o -path '*/.git*' \) -prune -o -type d -print)

Maybe we should drop \( -path '*/.svn*' -o -path '*/.git*' \) -prune -o part for good.

from fzf.kak.

andreyorst avatar andreyorst commented on August 15, 2024

I've committed the workaround with settable cd command, however I would like to find solution with default cd value for the script, so MacOS users could use it without configuration until it's really needed

from fzf.kak.

andreyorst avatar andreyorst commented on August 15, 2024

Also please provide your environment information- your shell, sh executable version, find executable version. It is hard to test this without all that information, since I'm no guru.

from fzf.kak.

andreyorst avatar andreyorst commented on August 15, 2024

Turns out that MacOS uses BSD find, instead of GNU find. So there are GNU findutils in brew, that can solve issue for you.

from fzf.kak.

vbauerster avatar vbauerster commented on August 15, 2024

I use zsh 5.6.2 (x86_64-apple-darwin17.7.0), I prefer setting custom command to shadowing original find utility. Thank you for quick solution.

from fzf.kak.

andreyorst avatar andreyorst commented on August 15, 2024

Ok, find just seems like the most widespread utility, that can be used. Closing this then.

from fzf.kak.

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.