aboutsummaryrefslogtreecommitdiffstats
path: root/.config/fish/conf.d/macos.fish
blob: 0df139e968318e26f616b4871ae62c1661a93d17 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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