ack.vim icon indicating copy to clipboard operation
ack.vim copied to clipboard

After Ubuntu 18.04 upgrade, ack-grep: command not found

Open alanq opened this issue 6 years ago • 2 comments

|| /bin/bash: ack-grep: command not found after running :Ack anything

I have run sudo apt-get install ack-grep, and also ack, and ran sudo dpkg-divert --local --divert /usr/bin/ack --rename --add /usr/bin/ack-grep

alanq avatar May 16 '18 18:05 alanq

I tried this and it work for me: sudo ln -s /usr/bin/ack /usr/bin/ack-grep But before do a whereis ack to be sure it is the same location.

oswinfox avatar Sep 04 '18 20:09 oswinfox

Another way to solve this is to map the command that plugin is using to ack:

let g:ackprg="ack -H --nocolor --nogroup --column"

strika avatar Jun 04 '20 05:06 strika