您好,欢迎来到知库网。
搜索
您的当前位置:首页mac source .bash_profile 重启Iterm

mac source .bash_profile 重启Iterm

来源:知库网

问题原因:

.bash_profile在每次item启动的时候不会自动执行.

解决办法:

如果shell 是bash, 把

. ~/.bash_profile

追加到 ~/.bashrc 末尾.

如果是zsh, 就把. ~/.bash_profile

追加到~/.zshrc末尾.

因为这些shell工具,在打开的时候,会执行这些配置.

Copyright © 2019- zicool.com 版权所有 湘ICP备2023022495号-2

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务