Closed DingyuanGao closed 1 year ago
https://github.com/pluveto/upgit#config-via-environment-variables
To access it from anywhere, add its directory to the PATH environment variable.
不好意思,没描述清楚,我的问题是macos的path的环境变量如何配置呢
https://www.cnblogs.com/bjlhx/p/10623907.html
------------------ 原始邮件 ------------------ 发件人: Panghh @.> 发送时间: 2022年2月17日 12:33 收件人: pluveto/upgit @.> 抄送: pluveto @.>, Comment @.> 主题: Re: [pluveto/upgit] mac 如何设置环境变量 (Issue #23)
https://github.com/pluveto/upgit#config-via-environment-variables
To access it from anywhere, add its directory to the PATH environment variable.
不好意思,没描述清楚,我的问题是macos的path的环境变量如何配置呢
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
若可执行文件名是 /Users/Username/Library/Upgit/upgit
,则其目录是 dir = /Users/Username/Library/Upgit
,把 dir 追加到 PATH 即可
upgit 存放地址为
/Users/Username/Library/Upgit/upgit
环境变量中如何配置?