如何通过shell脚本永久设置环境变量?

Aas*_*h P 2 shell-script environment-variables

假设我有一个脚本:

#!/bin/bash
echo "$1"
if [[ ! $1 ]]; then
    echo "True"
fi
export ABC="/home/aashish"
Run Code Online (Sandbox Code Playgroud)

ABC执行此脚本后不可用。如何在执行后使该变量也保持不变?

poi*_*ige 5

source 它进入当前的shell会话。