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