Comments (6)
@phil-blain Cool. I replied to that and implemented that feature:
https://lore.kernel.org/git/[email protected]/
from git-completion.
Thank you. I will think about moving that documentation depending now many requests for changes we get.
However, you don't need __git_complete
for those kinds of aliases, the Git completion already detects them, you just need to add a little help:
!f() { : git log ; ... ; } f
from git-completion.
Ah ! I had not understood correctly the comment at the top of git-completion.bash
. Thanks.
I thought it was about just adding :
, but it's really about adding : git <command> ; <whatever is your alias>
.
However, I noticed another shortcoming that could be worth documenting. If I have a "shortcut alias" like git logo
for git log --oneline --decorate
for example, completion works, but if I also have a "recursive" alias like git loga
for git logo --all
, then completion does not work for git loga
. This is a case where using __git_complete
would help for Git aliases.
from git-completion.
Right. It shouldn't be too hard to fix. Have you contacted the mailing list about that issue?
from git-completion.
Yes : https://lore.kernel.org/git/[email protected]/
from git-completion.
I think the current version of the documentation in Bash has all the relevant information, plus the fix for recursive aliases should deal with the rest of the issues.
from git-completion.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-completion.