Before opening the scratch Org, you can set the default scratch Org for source push and pull using the following command:
sfdx force:config:set defaultusername=<username>
To open a scratch Org, use the command shown here:
sfdx force:org:open -u <username/alias>
The following is a screenshot of the command line when the Org is opened: