Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
alanq opened this issue May 16, 2018 · 2 comments
Open

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

alanq opened this issue May 16, 2018 · 2 comments

Comments

@alanq
Copy link

alanq commented May 16, 2018

|| /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

@oswinfox
Copy link

oswinfox commented Sep 4, 2018

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.

@strika
Copy link

strika commented Jun 4, 2020

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants