summaryrefslogtreecommitdiff
path: root/setup-zls.fish
blob: e51a84e2480fb0af23750d35fc2e267d3a0a853c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
type zig
or exit 1

if ! test -d zls;
    git clone https://github.com/zigtools/zls
end

pushd zls
git pull

zig build -Doptimize=ReleaseSafe

echo "SETUP zls"
fish_add_path --path (pwd)/zig-out/bin
popd