Feature Idea: option aliases #165

hoelzro opened this Issue Dec 14, 2012 · 1 comment


None yet
3 participants

hoelzro commented Dec 14, 2012

Most of the time, I like Ack's defaults for its 'pretty' options; sometimes, however, I want to view the output without headings, breaks, or filenames:

$ ack term --noheading --nobreak --no-filename

Wouldn't it be nice if I could type something shorter for this case?

 $ ack term --no-pretty

I was thinking that defining option aliases (name subject to change) would be a cool way to do this:

# in ackrc
--option-alias no-pretty:--noheading --nobreak --no-filename

This comment has been minimized.

Show comment Hide comment

ericsubach Sep 26, 2013

This would be useful.

This would be useful.

@petdance petdance closed this Feb 24, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment