{"thread":{"id":"54914","subject":"[ANN] git-completion 1.3 released","startedAt":"2021-01-01T02:42:34Z","lastAt":"2021-01-01T02:42:34Z","messageCount":1,"participants":["Felipe Contreras"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"413288","messageId":"5fee8bdf8256e_c31ca208fb@natae.notmuch","threadId":"54914","inReplyTo":null,"subject":"[ANN] git-completion 1.3 released","fromName":"Felipe Contreras","fromEmail":"felipe.contreras@gmail.com","sentAt":"2021-01-01T02:41:35Z","receivedAt":"2021-01-01T02:42:34Z","isPatch":false,"sender":{"key":"felipe.contreras@gmail.com","avatar":"https://avatars.githubusercontent.com/u/8358?v=4"},"body":"Hello,\n\nGit-completion is a friendly fork of the official Git completion and\nprompt scripts for Zsh and Bash.\n\nThe main goal is to provide a more up-to-date completion for Zsh (I'm\nthe developer), which is basically just a wrapper around the Bash\ncompletion.\n\nCompared to Git upstream, you get many benefits for Zsh, but there's\nalso benefits for Bash users too.\n\nIf you use the official Zsh completion, the main benefit is that it's\nblazingly fast. Simply doing \"git log <tab>\" on the Linux kernel (with\n3k+ refs) takes several seconds on the official Zsh completion (about\n3 seconds on my machine), with git-complete it's *instantaneous*.\n\nThere's other benefits too. Since the Bash completion is actively\nmaintained by Git developers, everything works as they intend too.\n\nFor example \"git send-email <tab>\" correctly completes branches, as\nopposed to files in the Zsh official completion. Also, complex aliases\nsuch as '!f () { }; f' are correctly identified and completed\nout-of-the-box.\n\nIt's a sister project of the Oh My Zsh gitfast plugin [1], which I maintain too.\n\nSince the last version, the baseline has been updated to git 2.30 (which\nincludes some of the patches of git-completion 1.2), but there's a bunch\nof other improvements and fixes.\n\nThe main improvement over 1.2 is that now all the completions are\ncorrectly quoted (according to zsh developers using compadd -Q is rarely\ncorrect).\n\nIn total there are 47 patches [2] on top of git's master (plus tests and\nworkarounds).\n\nFor installation instructions, and more information, check the wiki\n[3], but basically.\n\n * make install\n * fpath=(~/.local/share/git-completion/zsh $fpath)\n\nAnd for Arch Linux users I've created an AUR package: [4].\n\nEnjoy and Happy New Year!\n\n[1] https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/gitfast\n[2] https://lore.kernel.org/git/20210101021622.798041-1-felipe.contreras@gmail.com/\n[3] https://github.com/felipec/git-completion/wiki/Zsh\n[4] https://aur.archlinux.org/packages/git-completion/\n\n-- \nFelipe Contreras\n"}]}