环境变量

  • 设置
    • 个人
      • 编辑~/.zshrc,在尾部添加`export MY_VARIABLE=“my_value”
      • 立即生效:source ~/.bashrcsource ~/.bash_profile
      • 重启shell也可以生效