not sure no more

This commit is contained in:
simas
2019-02-17 19:35:27 +01:00
parent 32a89ba0a8
commit 04ced1c3d0
3 changed files with 6 additions and 142 deletions

View File

@@ -1 +0,0 @@
/home/simas/.zsh.d/00-path.zsh##FreeBSD

6
.zsh.d/00-path.zsh Normal file
View File

@@ -0,0 +1,6 @@
for dir in /usr/bin /usr/sbin /sbin /bin ~/.bin; do
if test -d "$dir" && ! grep -q -e "^${dir}:" -e ":${dir}:" -e ":${dir}" <<< $PATH; then
PATH="${dir}:${PATH}"
fi
done
export PATH