summary refs log tree commit diff stats
path: root/scripts/format.sh
blob: d9db5291dfc4ff652e60e46ceda3a751b709c84e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env sh

root="$(git rev-parse --show-toplevel)"

final="$(mktemp)"

format "$root/src/keymaps/soispha/layout/keymap.h" > "$final"

git add "$root/src/keymaps/soispha/layout/keymap.h"

cat "$final" > "$root/src/keymaps/soispha/layout/keymap.h"
rm "$final"

# vim: ft=sh