##// END OF EJS Templates
zsh_completion: install as _hg not hg...
Kyle Lippincott -
r32472:7a7c3369 default
parent child Browse files
Show More
@@ -169,7 +169,7 b' osx:'
169 169 # install zsh completions - this location appears to be
170 170 # searched by default as of macOS Sierra.
171 171 install -d build/mercurial/usr/local/share/zsh/site-functions/
172 install -m 0644 contrib/zsh_completion build/mercurial/usr/local/share/zsh/site-functions/hg
172 install -m 0644 contrib/zsh_completion build/mercurial/usr/local/share/zsh/site-functions/_hg
173 173 # install bash completions - there doesn't appear to be a
174 174 # place that's searched by default for bash, so we'll follow
175 175 # the lead of Apple's git install and just put it in a
@@ -29,8 +29,8 b' Spot-check some randomly selected files:'
29 29 ./Library/Python/2.7/site-packages/mercurial/pure/bdiff.py 100644 0/0
30 30 ./Library/Python/2.7/site-packages/mercurial/pure/bdiff.pyc 100644 0/0
31 31 ./Library/Python/2.7/site-packages/mercurial/pure/bdiff.pyo 100644 0/0
32 $ grep zsh/site-functions/hg boms.txt | cut -d ' ' -f 1,2,3
33 ./usr/local/share/zsh/site-functions/hg 100644 0/0
32 $ grep zsh/site-functions/_hg boms.txt | cut -d ' ' -f 1,2,3
33 ./usr/local/share/zsh/site-functions/_hg 100644 0/0
34 34 $ grep hg-completion.bash boms.txt | cut -d ' ' -f 1,2,3
35 35 ./usr/local/hg/contrib/hg-completion.bash 100644 0/0
36 36 $ egrep 'man[15]' boms.txt | cut -d ' ' -f 1,2,3
General Comments 0
You need to be logged in to leave comments. Login now