aboutsummaryrefslogtreecommitdiffstats
path: root/.config/fish/conf.d/macos.fish
diff options
context:
space:
mode:
Diffstat (limited to '.config/fish/conf.d/macos.fish')
-rw-r--r--.config/fish/conf.d/macos.fish17
1 files changed, 17 insertions, 0 deletions
diff --git a/.config/fish/conf.d/macos.fish b/.config/fish/conf.d/macos.fish
new file mode 100644
index 0000000..0df139e
--- /dev/null
+++ b/.config/fish/conf.d/macos.fish
@@ -0,0 +1,17 @@
+if test (uname) = Darwin
+ fish_add_path \
+ /opt/homebrew/bin/ \
+ /opt/homebrew/opt/curl/bin \
+ $HOME/.poetry/bin \
+ $HOME/.local/bin \
+ $HOME/Library/pnpm
+
+ if command -q brew
+ brew shellenv | source
+ end
+
+ set -gx LDFLAGS "-L/opt/homebrew/lib"
+ set -gx CPPFLAGS "-I/opt/homebrew/include"
+ set -gx LIBRARY_PATH "$LIBRARY_PATH:"(brew --prefix)"/lib"
+end
+