Giter Site home page Giter Site logo

Comments (10)

clavelm avatar clavelm commented on August 10, 2024

If that problem is only on Windows, it can be interesting to know.
Does anyone use git flow completion with alias and it's working ?
Thanks,

Mathieu

from git-flow-completion.

alexslade avatar alexslade commented on August 10, 2024

I have an alias on Mac ('f' = 'git flow') and flow-completion doesn't work.

from git-flow-completion.

tarmolov avatar tarmolov commented on August 10, 2024

I have some problem, too (on mac). So I'm looking forward to solving this issue :)

from git-flow-completion.

bobthecow avatar bobthecow commented on August 10, 2024

@heeton @tarmolov If I understand correctly, you're using Bash aliases (e.g. alias f="git flow")?

If this is the case, your problem is a limitation with the default git completion.

alias r="git remote"

won't tab complete git-remote subcommands either. Since git-flow bash completion can only extend the existing git bash completion, there's not much we can do about that.

@clavelm Interesting. Any ideas how to solve it? :)

from git-flow-completion.

clavelm avatar clavelm commented on August 10, 2024

My problem isn't with bash alias completion, but with git alias completion.
Completion is working with git commands on my system.
I have aliased b for branch and when I write : git b + completion is working.

But with my alias "fff = flow feature finish" , "git fff + " give me the same completion as "git flow + " instead of "git flow feature finish + "

I'm having problem with git stash completion on my system link, and it seems it's coming from the bash version.

I have no idea how to solve that problem.
I'm not really sure I'm not the only one to have this problem as nobody was answering.

Mathieu

from git-flow-completion.

tarmolov avatar tarmolov commented on August 10, 2024

I as @clavelm use git aliases for git-flow.

For instance

fo = flow feature checkout
fs = flow feature start
fs = flow feature finish

So git fo <tab> doesn't work for me. Unfortunately, I have no idea how to fix it :(

from git-flow-completion.

bobthecow avatar bobthecow commented on August 10, 2024

@clavelm It is a problem with git bash completion. It gets confused when the number of words on the line are different. For example:

publish = push -u origin

will try to autocomplete "origin" (the only possible completion for git push) instead of completing branch names, as if you had entered git push -u origin.

So as long as your aliases replace the same number of arguments, it'll keep working. In your case, it won't.

from git-flow-completion.

tarmolov avatar tarmolov commented on August 10, 2024

Do you know some workaround for creating short aliases?
git flow feature checkout - really really long way to achieve my feature.

from git-flow-completion.

pixelastic avatar pixelastic commented on August 10, 2024

@tarmolov You can try using bash/zsh alias instead of git one to workaround this issue. I myself am using aliases like gffs or gfff for git flow feature start and git flow feature finish in zsh and their autocompletion works perfectly.

from git-flow-completion.

bobthecow avatar bobthecow commented on August 10, 2024

I'm closing this issue as it's (unfortunately) not possible to resolve this from our end.

from git-flow-completion.

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.