aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/.flake/home/programs/zsh.nix.org8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/.flake/home/programs/zsh.nix.org b/common/.flake/home/programs/zsh.nix.org
index 6b8d5ea..3d5115f 100644
--- a/common/.flake/home/programs/zsh.nix.org
+++ b/common/.flake/home/programs/zsh.nix.org
@@ -54,6 +54,14 @@ Load extra code.
initExtra = ''
#+end_src
+Configure Homebrew =llvm=.
+#+begin_src sh
+ export CC='/opt/homebrew/opt/llvm/bin/clang'
+ export CXX="$CC++"
+ export LDFLAGS="$LDFLAGS -L/opt/homebrew/opt/llvm/lib"
+ export CPPFLAGS="$CPPFLAGS -I/opt/homebrew/opt/llvm/include"
+#+end_src
+
Create potential aliases and create the prompt.
#+begin_src sh
which lesspipe.sh &> /dev/null && export LESSOPEN="|lesspipe.sh %s"