在我的.bashrc中,我有一个名为hello的函数: function hello() { echo "Hello, ... 定义函数后,在 source 文件中,添加 export -f functionname 。
確定! 回上一頁