且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用shell脚本的.bashrc中定义的别名

更新时间:2023-12-05 18:42:34

您需要做的禁用了javascript -s expand_aliases 中除了脚本采购〜/ .bashrc中

You need to do shopt -s expand_aliases in the script in addition to sourcing ~/.bashrc.