Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 650 Bytes

File metadata and controls

26 lines (15 loc) · 650 Bytes

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