【发布时间】:2021-12-20 13:35:19
【问题描述】:
我已经像这样添加了.bash_profile的路径。
#psql
export "PATH=/Applications/Postgres.app/Contents/Versions/14/bin:$PATH"
在我运行source .bash_profile 之后,我成功运行了psql。
问题是当我关闭终端并重新打开它时,psql 不起作用。我必须再次source .bash_profile。我该如何解决?
【问题讨论】: