Friday, August 8, 2025

prettify json from cli with jq and this bash alias


alias prettifyjson='f(){ jq . "$1" > tmp && mv tmp "$1"; }; f'
source ~/.bashrc

No comments:

Post a Comment