about summary refs log tree commit diff
path: root/profile/.profile.d/llvm.sh
blob: f62b09b8777372b1bf239ff1fb69a16122ccf92e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

_llvm_root="/usr/lib/llvm"

if [ -d "${_llvm_root}" ]; then
	for _version in "${_llvm_root}"/*; do
		path_append "${_version}/bin"
		manpath_append "${_version}/share/man"
	done
fi

unset _version _llvm_root

Consider giving Nix/NixOS a try! <3