# make a version of cd that always prints out the new working directory exactly once:
cd() {
  command cd "$@" >/dev/null || return 1
  pwd
}

# start off a "secure shell script" in which the script avoids being spoofed by its parent:
IFS='
'

#    the preceding value should be <space><tab><newline>.
#    set IFS to its default value.

\unalias -a
#    unset all possible aliases.
#    note that unalias is escaped to prevent an alias
#    being used for unalias.

unset -f command
#    ensure command is not a user function.

# shellcheck disable=SC2250
PATH="$(command -p getconf PATH):$PATH"
#    put on a reliable PATH prefix.

#    ...
