Форматирование кода

This commit is contained in:
2026-04-11 12:53:17 +03:00
parent 3f74fb6dc5
commit c028c626cf
12 changed files with 39 additions and 29 deletions

View File

@@ -1,8 +1,7 @@
# shellcheck shell=bash
# vim: ft=sh
if command -v uncrustify >/dev/null; then
UNCRUSTIFY_CONFIG="${XDG_CONFIG_HOME}/uncrustify/uncrustify.cfg"
[ -r "${UNCRUSTIFY_CONFIG}" ] && export UNCRUSTIFY_CONFIG
fi
! command -v uncrustify > /dev/null && return
UNCRUSTIFY_CONFIG="${XDG_CONFIG_HOME}/uncrustify/uncrustify.cfg"
[ -r "${UNCRUSTIFY_CONFIG}" ] && export UNCRUSTIFY_CONFIG