Git Product home page Git Product logo

Comments (7)

krlmlr avatar krlmlr commented on June 11, 2024 2

Brilliant, thanks!

TIL I need to read brew install output.

from git-extras.

vanpipy avatar vanpipy commented on June 11, 2024

Without any installation, just adding one more line in the ~/.zshrc

source $(CODE_DIR)etc/git-extras-completion.zsh'

An example below:
source /home/leroy/Project/git-extras/etc/git-extras-completion.zsh

from git-extras.

krlmlr avatar krlmlr commented on June 11, 2024

Thanks! I don't have this file after brew install git-extras . Completion for the commands themselves is also important, of course.

from git-extras.

vanpipy avatar vanpipy commented on June 11, 2024

Thanks! I don't have this file after brew install git-extras . Completion for the commands themselves is also important, of course.

I got your idea and let's fulfill the autocompletion first.

  1. clone the git extras repo in your device
  2. add source /home/leroy/Project/git-extras/etc/git-extras-completion.zsh into .zshrc

The /home/leroy/Project bases on your real dir stored for the git extras repo.

I think after this, it should be work.

from git-extras.

krlmlr avatar krlmlr commented on June 11, 2024

I will install from a local clone if I must, but shouldn't this work out of the box after brew install git-extras ?

from git-extras.

vanpipy avatar vanpipy commented on June 11, 2024

I will install from a local clone if I must, but shouldn't this work out of the box after brew install git-extras ?

I am not familiar with the part of the installation via brew, but from the result it should be not the expected you want. And here is a way to activate the autocompletion manually.

from git-extras.

hyperupcall avatar hyperupcall commented on June 11, 2024

@krlmlr It seems common to not automatically handle completions when using Homebrew. For example, zsh-completions and autoenv tells the user to add a source to their shell configuration. We do this as well.

from git-extras.

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.