diff --git a/arch.sh b/arch.sh index c6e70c8..636483c 100644 --- a/arch.sh +++ b/arch.sh @@ -365,6 +365,9 @@ then yes | opam init opam install -y utop ocaml-lsp-server ocamlformat ocamlformat-rpc + # === Clang == + wget -q https://git.kennel.ml/Anri/confOS/raw/branch/main/dotfiles/.clang-format -O "$HOME"/.clang-format + echo -e "\nInstallation terminée.\nIl faut redémarrer l'ordinateur." else echo "Ce script ne fonctionne que sur Arch." diff --git a/arch_wsl.sh b/arch_wsl.sh index a16a934..e80e2d4 100644 --- a/arch_wsl.sh +++ b/arch_wsl.sh @@ -197,6 +197,9 @@ then yes | opam init opam install -y utop ocaml-lsp-server ocamlformat ocamlformat-rpc + # === Clang == + wget -q https://git.kennel.ml/Anri/confOS/raw/branch/main/dotfiles/.clang-format -O "$HOME"/.clang-format + # === Clear useless packages pacman -Rsn $(pacman -Qqtd) 2> /dev/null diff --git a/dotfiles/.clang-format b/dotfiles/.clang-format new file mode 100644 index 0000000..39f9642 --- /dev/null +++ b/dotfiles/.clang-format @@ -0,0 +1 @@ +IndentWidth: 4