Skip to content

bash script that lets you pass a list of queries to ack

Notifications You must be signed in to change notification settings

somegenericdev/ackQueue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Installation

  1. Install ack and dmenu

sudo apt install ack

sudo apt install dmenu

  1. Copy the script
  2. Create a file into your bin directory and paste it there

sudo nano /usr/local/bin/ackQueue

  1. Make it executable

sudo chmod +x /usr/local/bin/ackQueue

Instructions

You can launch the script like so

ackQueue query1 query2 query3

By default, ackQueue will launch "ack -A 4". If you want to pass some other flags to ack, you can do so by using the -a flag

ackQueue -a "ack -A 9 -B 3" query1 query2 query3

To move back and forth through your queue, you can use the B and N keys or, alternatively, use dmenu by pressing M

About

bash script that lets you pass a list of queries to ack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages