From f75a27c89fe3727b79a76e8e759a6eb46fceac65 Mon Sep 17 00:00:00 2001 From: Jacob Bohanon Date: Mon, 13 Mar 2023 12:21:20 -0400 Subject: [PATCH] add clang/llvm to path --- zsh/config.d/llvm_clang.zsh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 zsh/config.d/llvm_clang.zsh diff --git a/zsh/config.d/llvm_clang.zsh b/zsh/config.d/llvm_clang.zsh new file mode 100644 index 0000000..52cdd49 --- /dev/null +++ b/zsh/config.d/llvm_clang.zsh @@ -0,0 +1,5 @@ +if [[ -d /opt/llvm ]]; then + export PATH=/opt/llvm/bin:$PATH +elif [[ -d /opt/clang+llvm ]]; then + export PATH=/opt/clang+llvm/bin:$PATH +fi