hostname="$(pass show dev/postgresql/db | sed -n 's/^db_hostname://p' | sed 's/^[ ]*//')" port="$(pass show dev/postgresql/db | sed -n 's/^db_port://p' | sed 's/^[ ]*//')" db_name="erikvancraddock" db_username="$(pass show dev/postgresql/db | sed -n 's/^db_username://p' | sed 's/^[ ]*//')" db_password="$(pass show dev/postgresql/db | sed -n 's/^db_password://p' | sed 's/^[ ]*//')" export DATABASE_URL="postgres://${db_username}:${db_password}@${hostname}:${port}/${db_name}?sslmode=disable"