Giter Site home page Giter Site logo

Comments (8)

neoli0222 avatar neoli0222 commented on May 8, 2024 1

https://github.com/denisidoro/navi/blob/76e216b24ae10a575a9dc03dbe0b8bfbd1d3089e/src/ui.sh#L14
I found I can fix this problem by changing the above code to:
"$fzf_cmd" ${args[@]:-} --inline-info "$@"

I guess the reason why you can't reproduce is because your shell is not zsh. I tried it in bash, there's no such problem.

from navi.

welcome avatar welcome commented on May 8, 2024

Thanks for opening your first issue here! In case you're facing a bug, please update navi to the latest version first. Maybe the bug is already solved! :)

from navi.

denisidoro avatar denisidoro commented on May 8, 2024

Thanks for the report! I'll look into it tomorrow

from navi.

denisidoro avatar denisidoro commented on May 8, 2024

In the meantime, could you try running the (unreleased) version from master? You'll need to manually git clone.

Maybe the problem is already solved.

from navi.

neoli0222 avatar neoli0222 commented on May 8, 2024

In the meantime, could you try running the (unreleased) version from master? You'll need to manually git clone.

Maybe the problem is already solved.

I've tried the master branch, but the problem still exists.

from navi.

denisidoro avatar denisidoro commented on May 8, 2024

Strange... I'm not able to reproduce the problem :(

Does the variable suggestion fail to all variables or just for <branch>?

from navi.

denisidoro avatar denisidoro commented on May 8, 2024

I use zsh as well but actually that makes no difference. When the script is invoked, it's executed with bash.

What's your bash version?

I can open a PR if you want (or you can open yourself so that you'll become a contributor to the project)

from navi.

neoli0222 avatar neoli0222 commented on May 8, 2024

The version info of the bash I use:
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16)

After some experiments, I found the bash version may not be the cause. However, I guess it's the Gnu Readline library which is a dependency of bash.

I'll be happy to open a PR~

from navi.

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.