Mercurial > hg
comparison contrib/debian/rules @ 34405:9ecc622ca23f
deb: install zsh completions to /usr/share/zsh/vendor-completions
This location is used by debian (and ubuntu) to store completions provided by
other deb packages. The default fpath appears to have this before any of the
zsh-provided instances of the completions, so this should take precedence.
Differential Revision: https://phab.mercurial-scm.org/D882
author | Kyle Lippincott <spectral@google.com> |
---|---|
date | Sun, 01 Oct 2017 02:53:10 -0700 |
parents | 0c42b6bb2329 |
children | 0133ca39c688 |
comparison
equal
deleted
inserted
replaced
34404:159a6f7e09a9 | 34405:9ecc622ca23f |
---|---|
31 cp contrib/hgk $(CURDIR)/debian/mercurial-common/usr/share/mercurial | 31 cp contrib/hgk $(CURDIR)/debian/mercurial-common/usr/share/mercurial |
32 mkdir -p $(CURDIR)/debian/mercurial-common/etc/mercurial/hgrc.d/ | 32 mkdir -p $(CURDIR)/debian/mercurial-common/etc/mercurial/hgrc.d/ |
33 cp contrib/debian/*.rc $(CURDIR)/debian/mercurial-common/etc/mercurial/hgrc.d/ | 33 cp contrib/debian/*.rc $(CURDIR)/debian/mercurial-common/etc/mercurial/hgrc.d/ |
34 mkdir -p $(CURDIR)/debian/mercurial-common/usr/share/bash-completion/completions | 34 mkdir -p $(CURDIR)/debian/mercurial-common/usr/share/bash-completion/completions |
35 cp contrib/bash_completion $(CURDIR)/debian/mercurial-common/usr/share/bash-completion/completions/hg | 35 cp contrib/bash_completion $(CURDIR)/debian/mercurial-common/usr/share/bash-completion/completions/hg |
36 mkdir -p $(CURDIR)/debian/mercurial-common/usr/share/zsh/vendor-completions | |
37 cp contrib/zsh_completion $(CURDIR)/debian/mercurial-common/usr/share/zsh/vendor-completions/_hg | |
36 rm $(CURDIR)/debian/mercurial-common/usr/bin/hg | 38 rm $(CURDIR)/debian/mercurial-common/usr/bin/hg |