From 87c59e4cb7ae7ad042bce828deff36d7e682a480 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Wed, 29 May 2019 09:51:20 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..26bbb1b --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# Установка + +```sh +git clone https://git.246060.ru/f1x1t/uncrustify ~/.config/uncrustify +``` + +# Настройка + +Установить переменную окружения `UNCRUSTIFY_CONFIG`, например: + +```sh +UNCRUSTIFY_CONFIG="${XDG_CONFIG_HOME}/uncrustify/default.cfg" +[ -e "${UNCRUSTIFY_CONFIG}" ] && export UNCRUSTIFY_CONFIG +``` +