2019-05-29 06:51:20 +00:00
|
|
|
# Установка
|
|
|
|
|
|
|
|
```sh
|
|
|
|
git clone https://git.246060.ru/f1x1t/uncrustify ~/.config/uncrustify
|
|
|
|
```
|
|
|
|
|
|
|
|
# Настройка
|
|
|
|
|
|
|
|
Установить переменную окружения `UNCRUSTIFY_CONFIG`, например:
|
|
|
|
|
|
|
|
```sh
|
2022-11-26 13:09:35 +00:00
|
|
|
UNCRUSTIFY_CONFIG="${XDG_CONFIG_HOME}/uncrustify/uncrustify.cfg"
|
2019-05-29 06:51:20 +00:00
|
|
|
[ -e "${UNCRUSTIFY_CONFIG}" ] && export UNCRUSTIFY_CONFIG
|
|
|
|
```
|
|
|
|
|