Add php 7.4 to env

This commit is contained in:
Leon Grünewald 2022-05-12 17:27:33 +02:00
parent c4dc8aa902
commit ffe4446da4

View file

@ -2,6 +2,7 @@ export EDITOR="vim"
if [ $(uname -s) = "Darwin" ]; then
export MAKEOPTS="-j$(sysctl -n hw.ncpu)"
export PATH="/usr/local/opt/php@7.4/bin:$PATH"
else
export MAKEOPTS="-j$(cat /proc/cpuinfo | awk -F: '$1 ~ /cpu cores/ { print $2 }' | head -n 1 | tr -d ' ')"
fi