~/source(1)
en
NAME
source, . - run a file of commands in this shell
SYNOPSIS
source file
DESCRIPTION
Reads a file and runs it here, in this shell — so a variable it sets stays
set and an alias it makes stays made. That is the difference between
source x.sh and sh x.sh: the second gets a shell of its own, and can hand
nothing back but its exit status.
It is how ~/.zshrc is read at every login, and how you read it again after
changing it.
EXAMPLES
source ~/.zshrc
. /tmp/setup.sh