I often use : to set default values of configuration envs. e.g, in my dotfiles bootstrap script I have:

  : "${DOTFILES_PATH:=$HOME/.dotfiles}"
Which will use $DOTFILES_PATH value if it's set, otherwise it's going to be $HOME/.dotfiles