sstadick / hck

A sharp cut(1) clone.
The Unlicense
693 stars 19 forks source link

[feature request] rc file for global defaults #88

Open iloveitaly opened 1 month ago

iloveitaly commented 1 month ago

It looks like tab is the default output delimiter compared to the input delimiter being used as the output in cut. I'd like to change this globally for me, a .hckrc would be a great addition (similar to .ripgreprc and others).

Thanks for the awesome work on this!

sstadick commented 1 month ago

I like this idea!

I haven't been able to put much time into hck recently. Marking this as a future improvement. And always open to PRs :)

There is always the alias trick alias hckc="hck --output-delimiter ," that you could stick in your .*rc file, or even completely shadow the hck name.

iloveitaly commented 1 month ago

alias is a great trick here. Totally get not having much time, may be able to carve out some time for a PR :)