Socket
Book a DemoInstallSign in
Socket

git_autocomplete

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git_autocomplete

bundlerRubygems
Version
0.2.0
Version published
Maintainers
1
Created
Source

Contains a git CLI autocompletion script for bash users.

Currently, it autocompletes on local branch names for checkout cmds.

In the following, the 'mas' would autocomplete to 'master' in most cases:

  • git checkout mas
  • git-checkout mas
  • git co mas
  • gco mas

This is a work-in-progress. I'd like it to also autocomplete on git commands, like git brTAB --> git branch, but this is less important since you can autocomplete already on git-br.

INSTALLATION

  • Install ruby + the rubygems package system
  • sudo gem install git_autocompletion
  • To your ~/.bashrc (etc), add:
    • complete -C git_autocomplete -o default git
    • complete -C git_autocomplete -o default gco

SOURCE

Access the source via git:

  • http://github.com/drnic/git_autocompletion/tree/master

Forking? If you have a remote clone/fork of this repository, let me know

CONTACT

Dr Nic Williams, drnicwilliams@gmail.com, http://drnicwilliams.com

FAQs

Package last updated on 25 Jul 2009

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts