place the following lines into your ~/.bashrc and you are done
now you can type
# pftest
to check if your pf.conf is OK and
# pfinstall
to test and install your pf.conf
Code:
PFCONF=/etc/pf.conf
pftest(){
pfctl -n -f ${PFCONF} &&
echo "${PFCONF} => seems to work: $?"
}
pfinstall(){
pfctl -n -f ${PFCONF} &&
pfctl -f ${PFCONF} &&
echo "${PFCONF} => seems to work: $?"
}