zsh-users
 help / color / mirror / code / Atom feed
* How to set up completion for git aliases?
@ 2012-07-06 17:04 Vadim Zeitlin
  2012-07-06 17:56 ` Axel Beckert
  2012-07-06 23:02 ` Frank Terbeck
  0 siblings, 2 replies; 8+ messages in thread
From: Vadim Zeitlin @ 2012-07-06 17:04 UTC (permalink / raw)
  To: Zsh Users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 451 bytes --]

 Hello,

 I have a simple git alias "lg = log --oneline" and I'd like zsh to
complete it in the same way as it already completes "git log".
Unfortunately after spending a long time looking at
/usr/share/zsh/functions/Completion/Unix/_git I still have no idea how am I
supposed to do it "properly", i.e. without copying this huge file and
hacking on it. I'm sure there must be a better way to do it but which one?

 Thanks in advance for any hints,
VZ

[-- Attachment #2: Type: APPLICATION/PGP-SIGNATURE, Size: 196 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-11-01  4:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-06 17:04 How to set up completion for git aliases? Vadim Zeitlin
2012-07-06 17:56 ` Axel Beckert
2012-07-06 23:02 ` Frank Terbeck
2012-07-07  0:52   ` Re[2]: " Vadim Zeitlin
2012-07-17 19:20     ` Axel Beckert
2012-07-17 19:54       ` Frank Terbeck
2012-11-01  0:01   ` Re[2]: " Vadim Zeitlin
2012-11-01  4:46     ` Benjamin R. Haskell

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).