mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-11-14 22:56:26 +00:00
8 lines
130 B
Bash
8 lines
130 B
Bash
|
#! /usr/bin/env bash
|
||
|
set -e
|
||
|
|
||
|
for f in "$@"; do
|
||
|
jq --sort-keys --monochrome-output . "$f" > "$f.tmp"
|
||
|
mv "$f.tmp" "$f"
|
||
|
done
|