That's exactly what I've been doing. I just did it again...Last login: Mon Oct 26 17:53:05 on ttys001
Davids-MacBook-Pro-2:~ davidblomstrom$ /Library/PostgreSQL/9.5/scripts/runpsql.sh; exit
Server [localhost]: Server [localhost
Database [postgres]: Database [postgres]:
Port [5432]: Port [5432]:
Username [postgres]: Username [postgres]:
psql: warning: extra command-line argument "[5432]:" ignored
psql: warning: extra command-line argument "[postgres]:" ignored
psql: warning: extra command-line argument "Database" ignored
psql: warning: extra command-line argument "[postgres]:" ignored
psql: invalid port number: "Port"
Then the script you are running is broken and you should run "psql" yourself from a Mac terminal prompt.
David J.